Various settings for the bake.
The bake can be started via Lightmapping class.
See Also: 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. |
bakeResolution | Specifies the resolution of the Baked lightmap in texels per world unit. Specifying higher resolutions can significantly increase the time it takes to bake the lightmap. The default value is one texel per world unit. The minimum value is 0.0001. |
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 | This property is now obsolete. Use maxAtlasSize instead. |
maxAtlasWidth | This property is now obsolete. Use maxAtlasSize instead. |
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 | Determines how Unity will compress baked reflection cubemap. |
sampling | Determines which sampling strategy to use for baking lightmaps with the Progressive Lightmapper. |
textureCompression | Whether to use texture compression on the generated lightmaps. |