Version: Unity 6.7 Alpha (6000.7)
Language : English
Shadow mapping
Shadow cascades

Set shadow distance in a scene

Use the Shadow Distance property to determine the distance from the Camera up to which Unity renders real-time shadows.

Shadows from GameObjects become less noticeable the farther the GameObjects are from the Camera. This is both because the shadows appear smaller on the screen, and because distant GameObjects are usually not the focus of attention. You can take advantage of this effect by disabling real-time shadow rendering for distant GameObjects. This saves on wasted rendering operations, and can improve runtime performance. Additionally, the Scene often looks better without distant shadows.

If the current Camera Far Plane is closer than the Shadow Distance, Unity uses the Camera Far Plane instead of the Shadow Distance.

To disguise missing shadows beyond the Shadow Distance, you can use visual effects such as fog.

Setting the Shadow Distance

Important: The Built-In Render Pipeline is deprecated and will be made obsolete in a future release.
It remains supported, including bug fixes and maintenance, through the full Unity 6.7 LTS lifecycle.
For more information on migration, refer to Migrating from the Built-In Render Pipeline to the Universal Render Pipeline and Render pipeline feature comparison.

In the Built-in Render Pipeline, set the Shadow Distance property in your Project’s Quality Settings.

In the Universal Render Pipeline (URP), set the Shadow Distance property in the Universal Render Pipeline asset.

In the High Definition Render Pipeline (HDRP), set the Shadow Distance property for each Volume.

Shadow Distance and Shadowmask Lighting Mode

If your Scene uses the Shadowmask Lighting Mode, Unity renders shadows from Mixed LightsLight components whose Mode property is set to Mixed. Some calculations for Mixed Lights are performed in advance, and some calculations for Mixed Lights are performed at runtime. The behavior of all Mixed Lights in a Scene is determined by the Scene’s Lighting Mode. More info
See in Glossary
beyond the Shadow Distance, using either Light ProbesLight probes store information about how light passes through space in your scene. A collection of light probes arranged within a given space can improve lighting on moving objects and static LOD scenery within that space. More info
See in Glossary
or a shadow mask Texture. You can configure how Unity renders shadows beyond the Shadow Distance.

Shadow mapping
Shadow cascades