| BillboardRendererFarBias Property |
Note: This API is now obsolete.
Gets or sets the bias factor used to bias the camera near plane when the z-buffer is
reconstructed. (Only used when
EnableOffscreenRendering is set.)
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax [ObsoleteAttribute("The FarBias is now determined by the RebuildZBufferRenderer stored in RenderContext[RenderContextKeys.RebuildZBufferRenderer].")]
public float FarBias { get; set; }
<ObsoleteAttribute("The FarBias is now determined by the RebuildZBufferRenderer stored in RenderContext[RenderContextKeys.RebuildZBufferRenderer].")>
Public Property FarBias As Single
Get
Set
public:
[ObsoleteAttribute(L"The FarBias is now determined by the RebuildZBufferRenderer stored in RenderContext[RenderContextKeys.RebuildZBufferRenderer].")]
property float FarBias {
float get ();
void set (float value);
}
[<ObsoleteAttribute("The FarBias is now determined by the RebuildZBufferRenderer stored in RenderContext[RenderContextKeys.RebuildZBufferRenderer].")>]
member FarBias : float32 with get, set
Property Value
Type:
SingleThe far bias factor. The default value is 0.995f.
Remarks
When off-screen rendering is used, the hardware depth buffer information is lost. This
renderer restores the depth buffer when it combines the off-screen buffer with the render
target in the final step. The restored depth buffer is not totally accurate.
NearBias and FarBias can be used to bias the restored depth
values to reduce z-fighting of any geometry which is rendered using the restored depth
buffer.
See Also