Click or drag to resize
DigitalRuneShadowMaskRendererMaxNumberOfShadowsMasks Property
Gets or sets the max number of shadows masks.

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

Property Value

Type: Int32
The max number of shadows masks. The default value is 1.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative or greater than 255.
Remarks
A shadow mask is an RGBA8 render target (= 4 channels). One shadow mask can store 4 shadows (or more, if shadow casting lights do not overlap). Two shadow masks can store 8 shadows (or more)... In most scenarios a single shadow mask should be enough.
See Also