Click or drag to resize
DigitalRuneCascadedShadowMinLightDistance Property
Gets or sets the minimal distance of the light projection to the camera frustum of a cascade.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float MinLightDistance { get; set; }

Property Value

Type: Single
The minimum light distance from the camera frustum. The default value is 100.
Remarks
To compute the shadow map an orthographic projection is fitted to the partial frustum of a cascade. The near plane of this orthographic projection should be moved as close as possible to the cascade - but not too close in order to catch occluders in front of the cascade. MinLightDistance defines the minimum allowed distance of the shadow projection near plane from the cascade.
See Also