Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.

Fields

Value

Description

DistanceShadowmaskStatic 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.
ShadowmaskStatic 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.