Click or drag to resize
AB4D logo

PhysicallyBasedRenderingEffectShadowTreshold Property

Note: This API is now obsolete.

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.Effects
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
[ObsoleteAttribute("ShadowTreshold is obsolete because of a spelling mistake. Please use the ShadowThreshold instead.")]
public float ShadowTreshold { 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