You can specify clip planes with glClipPlane, but a much more universal way would be to draw the form you want clipping against in the stencil buffer and then use stencil testing while drawing.
You can specify clip planes with glClipPlane, but a much more universal way would be to draw the form you want clipping against in the stencil buffer and then use stencil testing while drawing.
Bookmarks