Documentation

Unity Engine

Download Unity

Unity Engine

shadowCascade2Split

The normalized cascade distribution for a 2 cascade setup. The value defines the position of the cascade with respect to Zero.
Read time 1 minuteLast updated 6 hours ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. QualitySettings.shadowCascade2Split is deprecated and will be removed in a future release. It's used only by the Built-In Render Pipeline, which is no longer supported. To set the cascade splits in the Universal Render Pipeline (URP), add a Lighting > Shadows override to a Volume Profile and set the Split properties instead. #from(7000.0)
public static float shadowCascade2Split { get; set; }

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. To set the cascade splits in the Universal Render Pipeline (URP), use the Split sliders under Shadows > Cascade Count in the URP Asset.
Additional Resources: Quality Settings.