Max 6: jit.gl.pix

Joseph Hyde's icon

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!

Wesley Smith's icon

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.

Joseph Hyde's icon

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!