Click or drag to resize
Ab4d.SharpEngine logo

SoftShadowRenderingProviderShadowConstantBias Property

Gets or sets the depth bias used to reduce shadow artifacts, such as shadow acne, caused by precision issues in shadow mapping. This value offsets the depth of the lights (distance from the lights to the object). A higher value increases the bias, which can help reduce artifacts but may also cause shadows to appear detached from objects. The default value is 0.001.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public float ShadowConstantBias { get; set; }

Property Value

Single
See Also