Various settings for the bake.
The bake can be started via Lightmapping class.
另请参阅:Lightmapping。
aoExponentDirect | Ambient occlusion (AO) for direct lighting. |
aoExponentIndirect | Ambient occlusion (AO) for indirect lighting. |
aoMaxDistance | Beyond this distance a ray is considered to be unoccluded. |
enableAmbientOcclusion | Enable baked ambient occlusion (AO). |
filterTypeAO | Configure a filter kernel for the ambient occlusion target. |
filterTypeDirect | Configure a filter kernel for the direct light target. |
filterTypeIndirect | Configure a filter kernel for the indirect light target. |
lightmapper | Determines which backend to use for baking lightmaps. |
maxAtlasHeight | The maximum height of an individual lightmap texture. |
maxAtlasWidth | The maximum width of an individual lightmap texture. |
padding | Texel separation between shapes. |
realtimeResolution | Lightmap resolution in texels per world unit. Defines the resolution of Realtime GI if enabled. If Baked GI is enabled, this defines the resolution used for indirect lighting. Higher resolution may take a long time to bake. |
reflectionCubemapCompression | 确定 Unity 将如何压缩烘焙反射立方体贴图。 |
sampling | Determines which sampling strategy to use for baking lightmaps with the Progressive Lightmapper. |
textureCompression | Whether to use texture compression on the generated lightmaps. |