ShadowmaskMode
The rendering mode of Shadowmask.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public enum ShadowmaskMode
Remarks
Set whether static shadow casters should be rendered into real-time shadow maps.
Additional Resources: QualitySettings.shadowmaskMode, QualitySettings.shadowDistance.
Fields
Value | Description |
|---|---|
| DistanceShadowmask | Static shadow casters will be rendered into real-time shadow maps. Shadowmasks and occlusion from Light Probes will only be used past the real-time shadow distance. |
| Shadowmask | Static shadow casters won't be rendered into real-time shadow maps. All shadows from static casters are handled via Shadowmasks and occlusion from Light Probes. |