Click or drag to resize
AB4D logo

VarianceShadowRenderingProvider Properties

The VarianceShadowRenderingProvider type exposes the following members.

Properties
 NameDescription
Public propertyChangeBackBufferRenderingStep Gets a ChangeBackBufferRenderingStep that changes render targets from shadow depth rendering to rendering 3D scene.
Public propertyDepthBlurPostProcessingRenderingStep Gets a RenderPostProcessingRenderingStep that runs a post process that blurs the shadow depth map.
Public propertyPrepareShadowDepthRenderingStep Gets a PrepareVarianceShadowMappingRenderingStep that prepares render targets for variance shadow depth rendering.
Public propertyRenderNonShadowObjectsRenderingStep Gets a RenderObjectsRenderingStep that renders all objects that do not cast shadow.
Public propertyRenderShadowDepthRenderingStep Gets a RenderObjectsRenderingStep that renders shadow depth map - render objects from the light perspective and writes a distance from the light to a shadow depth map. This rendering step uses VarianceShadowDepthEffect to render objects (it is set to OverrideEffect property), filters object setting FilterObjectsFunction to FilterShadowCastingObjectsFunction(RenderablePrimitiveBase) and filters lights to use only the first shadow light (using FilterLightsFunction property).
Public propertyShadowDepthBias Gets or sets a float value that offsets the depth of the lights (distance from the lights to the object) and can help reduce the show artifacts in the corners. The value does not work for all 3D scenes because it depends on the size of the scene. Default value is 0 that does not apply any bias.
Public propertyShadowDepthBluringSize 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.
Public propertyShadowMapSize Gets or sets and integer value that represents the size of a shadow depth map texture. Default value is 512 and means that by default a 512 x 512 texture will be used.
Public propertyShadowRenderingStepsGroup Gets a RenderingStepsGroup that groups rendering step that render shadow map.
Public propertyShadowThreshold Gets or sets a float value that helps prevent light bleeding (having areas that should be in shadow fully illuminated) for variance shadow mapping. Default value is 0.2f.
Public propertyShadowTresholdObsolete.
Gets or sets a float value that helps prevent light bleeding (having areas that should be in shadow fully illuminated) for variance shadow mapping. Default value is 0.2f.
Top
See Also