Rasagar/Library/PackageCache/com.unity.render-pipelines.high-definition/Documentation~/Override-Shadows.md
2024-08-26 23:07:20 +03:00

1.3 KiB

Use the shadows volume component override

The Shadows Volume component override controls the maximum distance at which HDRP renders shadow cascades and shadows from punctual lights. It uses cascade splits to control the quality of shadows cast by Directional Lights over distance from the Camera.

To learn about the Shadows volume component properties, refer to Shadows volume override reference.

Create a shadow volume override

Shadows uses the Volume framework, so to enable and modify Shadows properties, add a Shadows override to a Volume in your Scene.

The Shadows override comes as default when you create a Scene Settings GameObject (Menu: GameObject > Rendering > Scene Settings). You can also manually add a Shadows override to any Volume. To add Shadows to a Volume:

  1. In the Scene or Hierarchy view, select a GameObject that contains a Volume component to view it in the Inspector.
  2. In the Inspector, go to Add Override > Shadowing and select Shadows. You can now use the Shadows override to alter shadow settings for this Volume.

[!include]