← index

Shadow Mapping

Real-time shadows: a depth pass renders the scene from the light into a shadow map, then the camera pass compares each fragment's light-space depth (3x3 PCF) to cast soft shadows.

interactive