Click or drag to resize
DigitalRuneBillboardRendererDepthThreshold Property
Gets or sets the depth threshold used for edge detection when upsampling the off-screen buffer.

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

Property Value

Type: Single
The depth threshold in world space units. The default value is 1 unit.
Remarks

When off-screen rendering is enabled (see EnableOffscreenRendering), the renderer uses bilinear interpolation when upsampling the off-screen buffer, except for edges where nearest-depth upsampling is used. The DepthThreshold is the threshold value used for edge detection.

In general: A large depth threshold improves image quality, but can cause edge artifacts. A small depth threshold improves the quality at geometry edges, but may reduce quality at non-edges.

See Also