Version: 2018.1

LightmapEditorSettings

class in UnityEditor

Switch to Manual

Description

Various settings for the bake.

The bake can be started via Lightmapping class.

See Also: Lightmapping.

Static Variables

aoExponentDirectAmbient occlusion (AO) for direct lighting.
aoExponentIndirectAmbient occlusion (AO) for indirect lighting.
aoMaxDistanceBeyond this distance a ray is considered to be unoccluded.
bakeResolutionSpecifies 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.
enableAmbientOcclusionEnable baked ambient occlusion (AO).
filterTypeAOConfigure a filter kernel for the ambient occlusion target.
filterTypeDirectConfigure a filter kernel for the direct light target.
filterTypeIndirectConfigure a filter kernel for the indirect light target.
lightmapperDetermines which backend to use for baking lightmaps.
maxAtlasSizeThe maximum size of an individual lightmap texture.
paddingTexel separation between shapes.
realtimeResolutionLightmap 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.
reflectionCubemapCompressionDetermines how Unity will compress baked reflection cubemap.
samplingDetermines which sampling strategy to use for baking lightmaps with the Progressive Lightmapper.
textureCompressionWhether to use texture compression on the generated lightmaps.