Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

DrawCameraMode.ShadowCascades

Description

The camera is set to draw directional light shadow map cascades.

The GameObjects in the Scene view are tinted according to which shadow cascade they are in. The color tint matches the UI based on the shadow cascade split distances set in Quality Settings.