Click or drag to resize
DigitalRuneSsaoFilterRadii Property
Gets or sets the inner and outer ambient occlusion radius.

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

Property Value

Type: Vector2F
The ambient occlusion radii, given as a vector with 2 components: (inner radius, outer radius). The values are relative to the screen size. The default value is (0.01, 0.02).
Remarks
Depending on the current Quality, the SSAO shader samples occlusion at one or two distances around a pixel. A smaller radius creates smaller and more pronounced ambient occlusion shadows. A larger radius creates a wider and softer shadow. With high quality settings, the shader samples ambient occlusion at two radii to catch details and soft occlusion shadows.
See Also