| SsaoFilterUseEdgeAwareBlur Property |
Gets or sets a value indicating whether the ambient occlusion should be blurred using
an edge-aware blur.
Namespace: DigitalRune.Graphics.PostProcessingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public bool UseEdgeAwareBlur { get; set; }
Public Property UseEdgeAwareBlur As Boolean
Get
Set
public:
property bool UseEdgeAwareBlur {
bool get ();
void set (bool value);
}
member UseEdgeAwareBlur : bool with get, set
Property Value
Type:
Boolean if an edge-aware blur should be used; otherwise,
.
Remarks
If
NumberOfBlurPasses is greater than 0, then the ambient occlusion buffer
is blurred. An edge-aware blur avoids dark halos around objects that could be created when
dark ambient occlusion shadows are blurred beyond visible edges. If
UseEdgeAwareBlur is
, a normal blur is used which
creates a better blur but could lead to artifacts like dark halos.
See Also