| SsaoFilterScale Property |
Gets or sets the scale factors.
Namespace: DigitalRune.Graphics.PostProcessingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Vector2F Scale { get; set; }
Public Property Scale As Vector2F
Get
Set
public:
property Vector2F Scale {
Vector2F get ();
void set (Vector2F value);
}
member Scale : Vector2F with get, set
Property Value
Type:
Vector2F
The scale factors, given as a vector with 2 components: (min scale factor, max scale
factor). The default is (0.5, 2).
Remarks
The shader uses random sample offsets around each pixel to sample occlusion. Each sample
offset is scaled by a random value. Scale defines the min and max size of
this random scale factor. For example: If Scale is (1, 1), then the sample
offsets are not scaled. If Scale is (0.5, 2), then the random offsets
are scaled with random values between 0.5 and 2.
See Also