Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Real-time shadows

Techniques and resources for shadows that use shadow mapping and shadow cascades to update shadows when lights move at runtime.
Read time 1 minuteLast updated 19 days ago

Techniques and resources for shadows that use shadow maps and shadow cascades to update shadows when lights move at runtime.

Page

Description

Shadow mappingUnderstand how Light components generate depth textures that Unity samples to generate real-time shadows.
Set shadow distance in a sceneUse the Shadow Distance property to determine the distance from the Camera up to which Unity renders real-time shadows.
Shadow cascadesResources for reducing pixelated shadows from a Directional Light by using multiple shadow maps.
Troubleshooting shadowsSolve common issues with shadows, such as flickering shadows and shadow acne.