Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualmhagain

Posted 28 March 2013 - 11:13 AM

glPolygonOffset is allowed to be implementation-dependent and shouldn't be considered a general purpose "z-fighting fix".  See http://www.opengl.org/sdk/docs/man/xhtml/glPolygonOffset.xml

 

units

Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0.

 

So you probably don't have a bug, just conformant (but unwanted and annoying) behaviour. Best to construct your geometry so that it doesn't z-fight in the first place (admittedly not always possible).


#1mhagain

Posted 28 March 2013 - 10:57 AM

glPolygonOffset is allowed to be implementation-dependent so you probably don't have a bug, just conformant (but unwanted) behaviour. Best to construct your geometry so that it doesn't z-fight in the first place (admittedly not always possible).

PARTNERS