Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ShadowmaskMode

enumeration

Description

The rendering mode of Shadowmask.

Set whether static shadow casters should be rendered into realtime shadow maps.

See Also: QualitySettings.shadowmaskMode, QualitySettings.shadowDistance.

Properties

ShadowmaskStatic shadow casters won't be rendered into realtime shadow maps. All shadows from static casters are handled via Shadowmasks and occlusion from Light Probes.
DistanceShadowmaskStatic shadow casters will be rendered into realtime shadow maps. Shadowmasks and occlusion from Light Probes will only be used past the realtime shadow distance.

Did you find this page useful? Please give it a rating: