limitLightmapCount
If enabled, objects sharing the same lightmap parameters will be packed into LightmapParameters.maxLightmapCount lightmaps.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public bool limitLightmapCount { get; set; }
Remarks
This setting can be used to limit the number of generated lightmaps. This is achieved by iteratively scaling down the UV layouts until they fit into the specified number of allowed lightmaps.