|
ILineMaterialDynamicDepthBiasFactor 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).
Recommended values are: DepthBias: 0.1, DynamicDepthBiasFactor: 0.02; or LineDepthBias: 0.002, LineDynamicBiasFactor: 1.
For backwards compatibility the default value is 0.
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax float DynamicDepthBiasFactor { get; }
Property Value
SingleSee Also