Click or drag to resize
DigitalRuneShadowMaskRendererFilter Property
Gets or sets a filter that is applied to the shadow masks as a post-process.

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

Property Value

Type: PostProcessor
The filter that is applied to the shadow masks as a post-process. The default value is .
Remarks

The shadow quality can be improved by filtering the resulting shadow mask. For example, an anisotropic, cross-bilateral Gaussian filter can be applied to create soft shadows.

The configured post-process filter needs to support reading from and writing into the same render target. This is supported by any separable box or Gaussian blur because they filter the image in two passes. Single pass blurs, e.g. a Poisson blur, cannot be used.

See Also