Max 6: jit.gl.pix

Oct 16, 2011 at 6:58pm

Max 6: jit.gl.pix

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!

#59360
Oct 17, 2011 at 6:57pm

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.

#213540
Oct 17, 2011 at 8:53pm

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!

#213541

You must be logged in to reply to this topic.