I am trying to use the OpenGL stencil buffer with jit.gl.sketch but cannot figure out how to set it up correctly. Is this function implemented at all, and if so, does anybody have an example of an implementation for me?
What I want to do is to dynamically prevent certain areas of objects (mostly lines) from being drawn. I do not want to remove the lines from the command list, though. Is this possible with Jitter's OpenGL implementation?