ドキュメント

Unity Engine

Unity Engine

MaterialGlobalIlluminationFlags

How the material interacts with global illumination.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
[Flags]public enum MaterialGlobalIlluminationFlags

Remarks

Additional Resources: Material.globalIlluminationFlags.

Fields

Value

Description

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.
NoneThe emissive lighting does not affect anything.
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.
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.