Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Z-fighting issues
MHaggag Offline
Junior Member

Posts: 16
Threads: 3
Joined: Apr 2007
Reputation: 0
#3
Solved: 8 Years, 10 Months, 1 Week ago RE: Z-fighting issues

Thomas Wrote:I am using EQUAL depth test mode when rendering and this might casue soem problems allthough no other ATI card has had problem.

I think this is becuase of ATI Vista drivers I am afraid ....

Would a depth func of GL_LEQUAL together with polygon offset work? That's what I use in my code to work on this card/driver combo, since GL_EQUAL causes z-fighting. Out of one of my apps:

glEnable(GL_POLYGON_OFFSET_FACTOR);
glPolygonOffset(1, 1);
glEnable(GL_BLEND);
glBlendFunc(GL_ONE, GL_ONE);
glDepthFunc(GL_LEQUAL);
04-26-2007, 06:40 PM
Find


Messages In This Thread
Z-fighting issues - by MHaggag - 04-26-2007, 12:20 PM



Users browsing this thread: 1 Guest(s)