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 |
|---|---|
| AnyEmissive | Helper 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. |
| BakedEmissive | The emissive lighting affects baked Global Illumination. It emits lighting into baked lightmaps and baked lightprobes. |
| EmissiveIsBlack | The 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. |
| None | The emissive lighting does not affect Global Illumination at all. |
| RealtimeEmissive | The emissive lighting will affect Enlighten Realtime Global Illumination. It emits lighting into real-time lightmaps and real-time Light Probes. |