Namespace: UnityEditor
Various settings for the bake.
The bake can be started via Lightmapping class.
See Also: Lightmapping.aoAmount | Controls how much Ambient Occlusion to blend into the Final Gather solution. |
aoContrast | Controls the look of the transition from black to white. |
aoMaxDistance | Beyond this distance a ray is considered to be unoccluded. |
bounceBoost | Boosts indirect light (Beast's diffuseBoost property, pow(colorComponent, (1.0 / diffuseBoost))). |
bounceIntensity | Indirect light intensity multiplier. |
bounces | Number of light bounces in the global illumination computation (with 0 meaning direct light only). |
finalGatherContrastThreshold | Contrast threshold between neighbouring surface points. |
finalGatherGradientThreshold | Controls how the irradiance gradient is used in the interpolation. |
finalGatherInterpolationPoints | The number of final gather points to interpolate between. |
finalGatherRays | Number of rays used in the final gather integrator. |
lastUsedResolution | Last used lightmap resolution (i.e. resolution of the lightmaps currently in the scene) in texels per world unit. |
lockAtlas | If enabled, Beast atlasing won't be run and lightmap indices, tiling and offset won't be modified on Mesh Renderers. |
maxAtlasHeight | The maximum height of an individual lightmap texture. |
maxAtlasWidth | The maximum width of an individual lightmap texture. |
padding | Texel separation between shapes. |
quality | Quality of the bake. |
resolution | Lightmap resolution in texels per world unit. |
skyLightColor | Sky light color. |
skyLightIntensity | Sky light intensity. |
textureCompression | Whether to use DXT1 compression on the generated lightmaps. |