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

MaterialGlobalIlluminationFlags

enumeration

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

Description

How the material interacts with global illumination.

Additional resources: Material.globalIlluminationFlags.

Properties

Property Description
NoneThe emissive lighting does not affect anything.
RealtimeIndirectEmissionThe emissive lighting will affect Realtime indirect global illumination (e.g., Enlighten). This means that the emissive material light will bounce around in the scene realtime.
BakedEmissionThe emissive lighting affects baked global illumination. It emits lighting into baked lightmaps and baked lightprobes.
EmissiveIsBlackThe emissive lighting is guaranteed to be black. This lets the lightmapping system know that it doesn't have to extract emissive lighting information from the material and can simply assume it is completely black. This flag is set internally by the baker.
RealtimeDirectEmissionThe emissive lighting will affect how the emissive material looks on the screen since the keyword enables the emissive material to simulate the light from the material to the camera making the material appear lit. Internally the keyword(_EMISSION) is defined in the material shader when flag is set.