What is better when you render a lot of masked triangles.
-
Render all maskes first and then render the triangles.
-
First render the mask of a triangle and then render the triangle. Do this for all triangles.
I think the first is the fastest but will all triangles be render right with the first method?