how to know depth test result
Is it possible to know the depth test result after rendering a triangle, ie:
in the display
...
glBegin(GL_TRIANGLES);
...
glEnd();
->i want to know at this moment if the triangle i have just rendered is visible (partially) or not (depending on the result of the depth test).
Or is it possible to know the depth test result only on a vertex?
Thanks in advance.
the occulsion test is what you'll want for that kinda of thing, i cant remember the extension name off the top of my head by its an ARB extension you want to search for
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement