Click or drag to resize
DigitalRuneCloudLayerNodeForwardScatterExponent Property
Gets or sets the forward scatter exponent used to define the range of the forward scatter effect.

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

Property Value

Type: Single
The forward scatter exponent. The default value is 5.
Remarks

When a cloud is in front of the sun, a lot of light is scattered forward to the observer. Forward scattering can be used to create a nice glow in the sun direction and rim lights ("silver linings") at the cloud borders.

The ForwardScatterExponent defines the angular range of the forward scatter effect. If ForwardScatterExponent is large, the effect is limited to areas near the sun. If ForwardScatterExponent is small, the effect is visible in a larger area.

ForwardScatterScale scales the intensity of the scattered sun light when looking straight at the sun. ForwardScatterOffset defines how bright the dark cloud parts are when looking straight at the sun.

See Also