CascadedShadowDistances Property |
Namespace: DigitalRune.Graphics
This vector contains the distances where the camera frustum is split in world space in following order: (split 0-1, split 1-2, split 2-3, max shadow distance). If the NumberOfCascades is less than 4, then the last components are ignored.
For example, if Distances is (4, 12, 20, 80), then the first cascade covers an area 4 units in front of the camera. The second cascade covers an area up to 12 units. The third cascade covers the area up to 20 units. The last cascade always covers the remaining area. The max. shadow distance is 80. The renderer does not need to render shadows beyond 80 units in front of the camera.