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). |
giBakeBackend | Determines which backend to use for baking lightmaps. |
giPathTracerFilter | Determines the filtering kernel for the Progressive Path Tracer backend. |
giPathTracerSampling | Determines which sampling strategy to use for baking lightmaps with the path tracing backend. |
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 将如何压缩烘焙反射立方体贴图。 |
textureCompression | Whether to use texture compression on the generated lightmaps. |