ShadowmaskMode
The rendering mode of Shadowmask.
Read time 1 minuteLast updated 5 days ago
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. |