Introduction to shadow cascades
Understand how shadow cascades help you improve shadow quality without increasing the shadow map resolution.
阅读时间1 分钟最后更新于 25 天前
Shadow cascades let you improve the visual fidelity of shadows without increasing the shadow map resolution.
For example, the following illustration shows shadow rendering with different numbers of shadow cascades. The shadow resolution is 2048 in all cases.

Shadow rendering with different cascade numbers. A: 1 cascade, B: 2 cascades, C: 3 cascades, D: 4 cascades
Shadow rendering with different cascade numbers. A: 1 (no cascades), B: 2 cascades, C: 3 cascades, D: 4 cascades.
Shadow cascades only work with directional lights.
From a technical perspective, shadow cascades mitigate a problem called perspective aliasing, where real-time shadows from directional lights appear pixelated when they are near the camera.