repackUnderutilizedLightmaps
When enabled, Unity attempts to repack lightmaps that are mostly empty at a lower resolution.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool repackUnderutilizedLightmaps { get; set; }
Remarks
Enabling this setting may produce lightmap layouts that use less memory, but will increase the time taken to calculate lightmap packing, and may also increase the number of lightmaps.
This setting only has an effect when using LightingSettings.LightmapPackingMethod.XAtlas.
Additional Resources: LightingSettings.lightmapPackingMethod, LightingSettings.lightmapPackingMode.