| TerrainNodeDetailFadeRange Property |
Gets or sets the detail fade range which defines the transition between two clipmap levels
of the
DetailClipmap.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float DetailFadeRange { get; set; }
Public Property DetailFadeRange As Single
Get
Set
public:
property float DetailFadeRange {
float get ();
void set (float value);
}
member DetailFadeRange : float32 with get, set
Property Value
Type:
SingleThe detail fade range in the range [0, 1]. The default value is 0.3.
Remarks
To hide transitions between clipmap levels of the
DetailClipmap, the lower
clipmap level fades to the higher clipmap level.
DetailFadeRange defines the
range over which this transition occurs. If this value is 0, then there is no transition.
The smoothest transition is created by setting the value to 1, but this wastes a lot of
texture resolution. Small values like 0.3 are usually better.
See Also