raziza
06-12-2012, 10:35 PM
Hey everybody,
I want to draw something and to clip some areas inside the draw, Like glScissor, but the other way around.
To define an area that the draw will not perform.
I've attached this example.
759
I draw rotated red quad.
And then I want to draw the star with an rectangle area that the star should NOT drawn over (I drew it here as the gray rectangle just for the example).
Is there a way to do it in OpenGL ?
I want to draw something and to clip some areas inside the draw, Like glScissor, but the other way around.
To define an area that the draw will not perform.
I've attached this example.
759
I draw rotated red quad.
And then I want to draw the star with an rectangle area that the star should NOT drawn over (I drew it here as the gray rectangle just for the example).
Is there a way to do it in OpenGL ?