Click or drag to resize
DigitalRuneScatteringSkyNodeBaseColorShift Property
Gets or sets the relative height where the base sky color is the average of the BaseHorizonColor and the BaseZenithColor.

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

Property Value

Type: Single
The relative height where the base sky color is the average of the BaseHorizonColor and the BaseZenithColor, in the range [0, 1]. The default value is 0.5.
Remarks
BaseHorizonColor, BaseZenithColor and BaseColorShift create a color gradient in the sky which is added to the result of the atmospheric scattering computations. These properties basically define the color of the sky in sunless nights: The sky at the horizon will have the BaseHorizonColor. The zenith will have the BaseZenithColor. All other base sky colors are interpolated between those two colors. BaseColorShift determines where the sky color is exactly the average of both colors. If BaseColorShift is 0.5, the average color of the gradient is in the middle of the top hemisphere. If this value is less than 0.5, then the average color is shifted down to the horizon. If this value is greater than 0.5, then the average color is shifted up to the zenith.
See Also