Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Shadows

Techniques and resources for Lights casting shadows from a GameObject onto other parts of itself, or onto nearby GameObjects.
Read time 1 minuteLast updated 13 days ago

Scene with objects casting shadows

Shadows add a degree of depth and realism to a scene because they bring out the scale and position of objects that might otherwise look flat. In Unity, lights can cast shadows from a GameObject onto other parts of itself, or onto nearby GameObjects.

Page

Description

Enable or disable shadowsConfigure settings for real-time and baked shadows for each Light component.
Real-time shadowsTechniques and resources for shadows that use shadow mapping and shadow cascades to update shadows when lights move at runtime.
Troubleshooting shadowsTroubleshooting tips for shadow-related issues.