Click or drag to resize
AB4D logo

VarianceShadowRenderingProviderShadowDepthBluringSize Property

Gets or sets an integer that specifies the blur amount that is applied on the shadow depth map and can produce shadows with nice soft edges. Default value is 4.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public int ShadowDepthBluringSize { get; set; }

Property Value

Int32
Remarks

ShadowDepthBluringSize gets or sets an integer that specifies the blur amount that is applied on the shadow depth map and can produce shadows with nice soft edges.

Default value is 4.

Note  Note
The ShadowMapSize and values must be changed before the VarianceShadowRenderingProvider is initialized. To change the value of those two properties do the following:
1) disable the existing VarianceShadowRenderingProvider with calling InitializeShadowRendering(ShadowRenderingProviderBase) method with null parameter;
2) create a new instance of VarianceShadowRenderingProvider with new values for ShadowMapSize and ShadowDepthBluringSize;
3) Call the InitializeShadowRendering(ShadowRenderingProviderBase) method again an pass the new instance of VarianceShadowRenderingProvider as parameter.
See Also