Click or drag to resize
DigitalRuneBillboardRendererFarBias 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.Rendering
Assembly: 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; }

Property Value

Type: Single
The 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