Click or drag to resize
DigitalRuneFogScatteringSymmetry Property
Gets or sets the scattering symmetry constant.

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

Property Value

Type: Vector3F
The scattering symmetry constant for red, green and blue. Each component must be in the range ]-1, 1[. The default value is (0, 0, 0).
Remarks
If this value is (0, 0, 0), then the fog color is uniform. Any other values create a non-uniform color where the color depends on the most important DirectionalLight (usually the sunlight). Positive values create more forward scattering which make the fog brighter in the direction to the directional light. Different values for scattering of red, green and blue can be set. This can be used to create more forward scattering for red and green than for blue. This will give the fog color an orange/reddish appearance when looking into the sun and a blueish appearance opposite the sun.
See Also