Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

LODGroup.globalIlluminationLOD

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public int globalIlluminationLOD;

Description

The index of the LOD level that contributes to global illumination.

Global illumination systems that select a single LOD level per LODGroup, such as the Unity Compute Light Baker and Surface Cache global illumination, use only the Renderers of this LOD level. Set this to -1 to exclude the LODGroup from those systems. The Progressive Lightmapper ignores this property and always bakes LOD 0. The value must be -1 or a valid LOD level index; setting it out of range throws an ArgumentOutOfRangeException. The default value is 0.