jit.gl.slab VS jit.gl.pass
Hello, I have some issues using the jit.gl.pass object. I'd like to do a thing like that :
math.shaders-help.maxpat
Max Patch
and replace the jit.gl.slab by jit.gl.pass ... I don't know how to add 2 inputs in my jit.gl.pass , if someone can help me it would be very useful.
Thanks !
hi cookdws,
jit.gl.pass only has support for a single input, however you can access its textures in the pass script via the TEXTUREn identifier. the example below works with the attached jxp file to demonstrate this. make sure you check out the pass.custom.effects example patch for more info on jit.gl.pass.
Max Patch
Copy patch and select New From Clipboard in Max.
Thanks, I'll try that !