Click or drag to resize
AB4D logo

SuperShaderShadowThreshold Property

Gets or sets a float value that helps prevent light bleeding (having areas that should be in shadow fully illuminated) for variance shadow mapping.

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

Property Value

Single
Remarks

Gets or sets a float value that helps prevent light bleeding (having areas that should be in shadow fully illuminated) for variance shadow mapping.

The value is used to map all shadow values from 0 ... ShadowThreshold to 0 and then linearly rescale the values from ShadowThreshold to 1 into 0 to 1.

For more info see "Shadow bleeding" in "Chapter 8. Summed-Area Variance Shadow Maps" (https://developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch08.html)

See Also