MixedLightingMode

enumeration

Switch to Manual

Description

描述用于混合光源的光照模式的枚举。

与每种模式关联的烘焙数据汇总:

IndirectOnly
Lightmaps
- 直接:否
- occlusion: no
Light probes
- 直接:否
- 遮挡:否

Shadowmask
Lightmaps
- 直接:否
- occlusion: yes
Light probes
- 直接:否
- 遮挡:是

Subtractive
Lightmaps
- 直接:是
- occlusion: no
Light probes
- 直接:否
- 遮挡:是。

Variables

IndirectOnly混合光源提供实时直射光照,而间接光源则被烘焙到光照贴图和光照探针中。
Shadowmask混合光源提供实时直射光照。间接光照会烘焙到光照贴图和光照探针中。将为烘焙阴影生成阴影遮罩和光照探针遮挡。可在 Quality Settings 面板中设置运行时使用的阴影遮罩模式。
SubtractiveMixed lights provide baked direct and indirect lighting for static objects. Dynamic objects receive realtime direct lighting and cast shadows on static objects using the main directional light in the Scene.