shadowCascades
Number of cascades to use for directional light shadows.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static int shadowCascades { get; set; }
Remarks
Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. To set the number of shadow cascades in the Universal Render Pipeline (URP), use Shadows > Cascade Count in the URP Asset.
Additional Resources: Quality Settings.