ドキュメント

Unity Engine

Unity Engine

MaterialGlobalIlluminationFlags

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

Definition

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

Remarks

Additional Resources: Material.globalIlluminationFlags.

Fields

Value

Description

AnyEmissiveHelper Mask to be used to query the enum only based on whether Enlighten Realtime Global Illumination or baked GI is set, ignoring all other bits.
BakedEmissiveThe 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.
NoneThe emissive lighting does not affect Global Illumination at all.
RealtimeEmissiveThe emissive lighting will affect Enlighten Realtime Global Illumination. It emits lighting into real-time lightmaps and real-time Light Probes.