| StandardShadowNumberOfSamples Property |
Gets or sets the number of filter samples.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public int NumberOfSamples { get; set; }
Public Property NumberOfSamples As Integer
Get
Set
public:
property int NumberOfSamples {
int get ();
void set (int value);
}
member NumberOfSamples : int with get, set
Property Value
Type:
Int32The number of PCF samples. The default value is -1 (see remarks).
Remarks
If this value is -1 (default), the shadow mask renderer will use predefined and optimized
sampling pattern. If this value is 0, the shadow map is sampled once without any PCF
(percentage closer filtering). If this value is 1, the shadow map is sampled with one
jittered sample without any PCF. If this value is greater than 1, the shadow map is sampled
with the given number of PCF samples.
See Also