Click or drag to resize
DigitalRuneTerrainNodeHoleThreshold Property
Gets or sets the threshold used to check for holes.

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

Property Value

Type: Single
The threshold used to check for holes. The default value is 0.3.
Remarks

Holes are usually marked using 0 values in the BaseClipmap. Solid terrain parts have a value of 1. However, in the distance the terrain geometry is downsampled, which also means that the hole values are averaged. HoleThreshold is used to decide when a value still counts as a hole. A hole threshold of 0 disables holes.

See Also