halo
08-09-2006, 02:27 AM
I have users experiencing z-fighting with my multipass lights and shadows, on ATI cards only.
-glDepthMask is set to False.
-glDepthFunc is set to GL_LEQUAL
-glPolygonOffset is set to -1.0,-1.0
-GL_POLYGON_OFFSET_FILL is enabled
I can't reproduce this on an NVidia card, so I have no idea what is wrong.
http://members.cox.net/rodburns/enginestrange.jpg
http://www.moon-design.com/shadows.jpg
-glDepthMask is set to False.
-glDepthFunc is set to GL_LEQUAL
-glPolygonOffset is set to -1.0,-1.0
-GL_POLYGON_OFFSET_FILL is enabled
I can't reproduce this on an NVidia card, so I have no idea what is wrong.
http://members.cox.net/rodburns/enginestrange.jpg
http://www.moon-design.com/shadows.jpg