Click or drag to resize
DigitalRuneSaoFilterBias Property
Gets or sets the bias used to avoid sampling artifacts.

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

Property Value

Type: Single
The bias. The default value is 0.0004.
Remarks

The bias is similar to the depth bias used in shadow mapping. It avoids dark ambient occlusion spots on flat surface or very flat concave edges.

The effective bias is at least MinBias. It increases with distance from the camera with a rate defined by Bias. To remove dark ambient occlusion spots, near the camera increase MinBias. To remove dark ambient occlusion spots in the distance, increase Bias.

See Also