Re: Physics Patch-a-Day Thread – Join the fun!!!


Forums > Jitter > Physics Patch-a-Day Thread – Join the fun!!!
September 26, 2012 | 10:20 pm

Hi Andrzej,
Glad you like it! The empty jit.gl.slab object is there to create a copy of the texture that is being captured to by the camera. This is done because OpenGL doesn’t like it when you use a texture in the same scene that you are capturing. Usually that will result in a bunch of texture garbage. So, anytime I do OpenGL texture capture feedback I throw a jit.gl.slab object in there. The nice thing here is that if I decide later that I want to add some filters to the feedback, the jit.gl.slab is already there.

I’ll leave the inspector stuff up to someone more technical to answer. You can always access attributes from the wheel menu and use attrui to change them.