• Advertisement
Sign in to follow this  

Z bias in D3D9...

This topic is 4439 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In D3D7, there is a rendering state called "D3DRENDERSTATE_ZBIAS" to address Z fighting problem. In D3D9, M$ changed its name to "D3DRS_DEPTHBIAS". However, we've found that some cards does not support this D3D9 rendering state (like our GF4 MX440). Is there any alternative way in D3D9 to do the similar thing? Thank you

Share this post


Link to post
Share on other sites
Advertisement
Well, the reason the Z-Bias was changed from what I remember, is that while it was supported across hardware, the results you are shooting for werent, and while it looked like it worked on one machine, doesn't mean it would work on another in the way intended. I think that's why they replaced it with the Depth Bias.

Digging around, I found an article that might help you:
http://www.intel.com/cd/ids/developer/asmo-na/eng/dc/pentium4/reference/168495.htm?page=1

Share this post


Link to post
Share on other sites
Marvelous !!

Projection matrix and viewport... they are worth to try..

Thanks a lot :D


Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement