Version: 5.6

설명

The emissive lighting will affect realtime Global Illumination. It emits lighting into realtime lightmaps and realtime lightprobes.

The flags are mutually exclusive so if you are using RealtimeEmissive lighting, you must remove the EmissiveIsBlack flag from the material as shown in the example below.

// Remove the EmissiveIsBlack flag from material:
MaterialGlobalIlluminationFlags flags = material.globalIlluminationFlags;
flags &= ~MaterialGlobalIlluminationFlags.EmissiveIsBlack;
material.globalIlluminationFlags = flags;

See Also: Material.globalIlluminationFlags.EmissiveIsBlack.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961