| CascadedShadowMinLightDistance Property |
Gets or sets the minimal distance of the light projection to the camera frustum of a
cascade.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float MinLightDistance { get; set; }
Public Property MinLightDistance As Single
Get
Set
public:
property float MinLightDistance {
float get ();
void set (float value);
}
member MinLightDistance : float32 with get, set
Property Value
Type:
SingleThe 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