Click or drag to resize
DigitalRuneUpsampleFilterDepthThreshold Property
Nearest-Depth Upsampling: Gets or sets the depth threshold used for edge detection.

Namespace: DigitalRune.Graphics.PostProcessing
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

This property is only relevant when Mode is set to NearestDepth.

Nearest-depth upsampling: The filter uses bilinear interpolation when upsampling the low-resolution image, except for edges where nearest-depth upsampling is used. The DepthThreshold is the threshold value used for edge detection.

A large depth threshold creates smooth images, but edges may be blurred. Use a small depth threshold to maintain hard edges, but the image quality at non-edges may be reduced.

See Also