directx中的深度偏差问题

问题描述 投票:-1回答:1

我正面临DirectX 9深度偏差的问题。我已关注此链接:https://software.intel.com/en-us/articles/alternatives-to-using-z-bias-to-fix-z-fighting-issues

它已经解决了我的基本问题,但真正的问题是当我将对象移动到视口的边缘或接近片段深度偏移附近时失败。

有人可以帮我吗?

预先感谢。

c++ directx msdn
1个回答
0
投票

@@ PeteBlackerThe3rd这是我的问题的一些快照:第一我的无线二维对象的外观如何正常。enter image description here第二名当我对相机在(0,0,0)处应用深度偏差时。enter image description here第三名当我在Z和X轴的视口中平移对象时。深度偏差失败。enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.