| CascadedShadowDepthBiasOffset Property |
Note: This API is now obsolete.
Gets or sets the depth bias offset of each cascade used to remove surface acne.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax [ObsoleteAttribute("The properties DepthBiasScale and DepthBiasOffset have been replaced by DepthBias.")]
public Vector4F DepthBiasOffset { get; set; }
<ObsoleteAttribute("The properties DepthBiasScale and DepthBiasOffset have been replaced by DepthBias.")>
Public Property DepthBiasOffset As Vector4F
Get
Set
public:
[ObsoleteAttribute(L"The properties DepthBiasScale and DepthBiasOffset have been replaced by DepthBias.")]
property Vector4F DepthBiasOffset {
Vector4F get ();
void set (Vector4F value);
}
[<ObsoleteAttribute("The properties DepthBiasScale and DepthBiasOffset have been replaced by DepthBias.")>]
member DepthBiasOffset : Vector4F with get, set
Property Value
Type:
Vector4F
The depth bias offset of each cascade. The default value of each cascade is -0.001f.
Remarks
This value is added to the depth value of the lit pixel. Use values lower than 0 to remove
surface acne. If the value is too low, the shadow becomes visually disconnected from the
occluder (a.k.a. "Peter Panning").
See Also