| CascadedShadowShadowFog Property |
Gets or sets the shadow factor that is used beyond the max shadow distance.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float ShadowFog { get; set; }
Public Property ShadowFog As Single
Get
Set
public:
property float ShadowFog {
float get ();
void set (float value);
}
member ShadowFog : float32 with get, set
Property Value
Type:
Single
The shadow factor that is used beyond the maximum shadow distance defined by
Distances. If this value is 0, then objects beyond the maximum shadow distance
are not shadowed. If this value is 1, then objects beyond the max. distance are fully
shadowed. The default value is 0.
Remarks
Near the maximum shadow distance defined by
Distances shadows are faded
towards the
ShadowFog value.
FadeOutRange defines the fade out
interval relative to the size of the last cascade.
See Also