Forums > Jitter

OpenGL stencil buffer in Jitter?

Apr 30 2010 | 10:31 am


I am trying to use the OpenGL stencil buffer with 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?

Many thanks,


Apr 30 2010 | 1:10 pm

i’m no open GL expert, but perhaps this could be done by dynamically applying a transparent texture to the (hidden) areas of an object? although technically speaking these areas would still be drawn, and yet made invisible…

just a thought!

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter