Forums > Jitter

Max 6: jit.gl.pix

October 16, 2011 | 6:58 pm

I’m very interested in jit.gl.pix – being able to make shaders in a patcher window is a bit of a dream come true! Just wondered if anyone can tell me: what shader language are the patches compiled to (if indeed that’s how it works), and is it possible to see the resultant code? I’m starting to feel my way into shader writing, and it might be v helpful to see what’s under the hood!


October 17, 2011 | 6:57 pm

jit.gl.pix is essentially a wrapper around jit.gl.slab but instead of loading in a JXS file with shader code the Gen patcher generates the JXS source. JXS files can have ARB ASM (OpenGL assembly), Cg, and GLSL code, but jit.gl.pix uses GLSL. Currently there is no way to look at the source that’s generated. We will have some improvements in this area soon. Also, we’ll be posting some Gen documentation to the forums shortly.


October 17, 2011 | 8:53 pm

Thanks – that’s very helpful and informative. Looking forward to the documentation, and keeping fingers crossed that eventually I’ll be able to see the code!


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