| ShadowMaskRendererMaxNumberOfShadowsMasks Property |
Gets or sets the max number of shadows masks.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public int MaxNumberOfShadowsMasks { get; set; }
Public Property MaxNumberOfShadowsMasks As Integer
Get
Set
public:
property int MaxNumberOfShadowsMasks {
int get ();
void set (int value);
}
member MaxNumberOfShadowsMasks : int with get, set
Property Value
Type:
Int32The max number of shadows masks. The default value is 1.
Exceptions 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