Click or drag to resize
DigitalRuneCubeMapShadowNumberOfSamples Property
Gets or sets the number of filter samples.

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

Property Value

Type: Int32
The 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