Click or drag to resize
DigitalRuneShadowMaskRendererUpsampleDepthSensitivity Property
Gets or sets a value controlling the bilateral upsampling. (Only used when UseHalfResolution is .)

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

Property Value

Type: Single
The depth sensitivity for bilateral upsampling. Use 0 to use bilinear upsampling and disable bilateral upsampling. Use values greater than 0, to enable bilateral upsampling. The default value is 1000.
Remarks

If UseHalfResolution is , the shadow mask is created using the half scene resolution. Creating shadows using the low resolution shadow mask can create artifacts, e.g. a non-shadowed halo around objects. To avoid these artifacts, bilateral upsampling can be enabled, by setting UpsampleDepthSensitivity to a value greater than 0.

For more information about bilateral upsampling, see UpsampleFilter and DepthSensitivity.

See Also