| SaoFilterMaxOcclusion Property |
Gets or sets the max ambient occlusion value.
Namespace: DigitalRune.Graphics.PostProcessingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float MaxOcclusion { get; set; }
Public Property MaxOcclusion As Single
Get
Set
public:
property float MaxOcclusion {
float get ();
void set (float value);
}
member MaxOcclusion : float32 with get, set
Property Value
Type:
SingleThe max ambient occlusion in the range [0, 1]. The default value is 1.
Remarks
If MaxOcclusion is less than 1, the occlusion is clamped. Very occluded
spots will be gray instead of black. Lowering the MaxOcclusion helps to
make the ambient occlusion more uniform and avoid very dark spots.
See Also