Click or drag to resize
AB4D logo

LineMaterialDynamicDepthBiasFactor Property

When DynamicDepthBiasFactor is bigger then 0 then this factor is multiplied by the distance of the position to the camera and this is then multiplied by the DepthBias. This can be used to correctly set the depth bias for objects that are close (require small depth bias) to the camera and to the objects that are far away from the camera (require big depth bias). A recommended value is 0.02. This works well for all distances of 3D objects when the DepthBias is set to 0.1. For backwards compatibility the default value is 0.

Namespace: Ab3d.DirectX.Materials
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public float DynamicDepthBiasFactor { get; set; }

Property Value

Single

Implements

ILineMaterialDynamicDepthBiasFactor
See Also