Original Post
Hi,
anybody got an idea why I get these ugly bugs in my game?
http://dave.768k.de/pics/bug1.png
thx
t added a precision to the vertex buffer. I just generate a device, and then clear the zbuffer. Well Im very new to directX, ^^. Fog wouldn`t solve the problem, because the feet should be seen clearly ^^. But how can I define the ZBuffer in detail?
quote:
Original post by aker_jus
You can also try W-Buffering
quote:
Ok, I found the problem. I used the DepthFormat.D16 as the AutoDepthStencilFormat. After changing it to DepthFormat.D24S8 or DepthFormat.D24X8 it is now displayed correctly.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more