Advertisement

Latest edgeoffset Activity

To fix z fighting when rendering a wireframe on top of another mesh, you want to change your depth test to something similar to GL_LEQUAL (less than or equal to comparison), instead of the usual GL_LESS. This will make your depth test succeed if the depth is equal (which is the case if you render t…

3,648 views
Advertisement
Advertisement
Advertisement