| CubeMapShadowDepthBiasScale Property |
Note: This API is now obsolete.
Gets or sets the depth bias scale 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 float DepthBiasScale { get; set; }
<ObsoleteAttribute("The properties DepthBiasScale and DepthBiasOffset have been replaced by DepthBias.")>
Public Property DepthBiasScale As Single
Get
Set
public:
[ObsoleteAttribute(L"The properties DepthBiasScale and DepthBiasOffset have been replaced by DepthBias.")]
property float DepthBiasScale {
float get ();
void set (float value);
}
[<ObsoleteAttribute("The properties DepthBiasScale and DepthBiasOffset have been replaced by DepthBias.")>]
member DepthBiasScale : float32 with get, set
Property Value
Type:
SingleThe depth bias scale. The default value is 0.99f.
Remarks
The depth value of the lit pixel is multiplied with this value. Use values lower than 1 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