Multipass shader from shadertoy

michelez's icon

I am recreating a multipass shader from Shadertoy and something goes wrong in the process of passing the outputs from jit.gl.slab to jit.gl.texture. in my tests I notice how the alpha channels, which are used as data channels instead of actual alpha, don't seem to go through the multiplass process properly. I tried to switch off the filter option in the textures but it didn't improve the situation. I think there should some other default preference that I need to change but I can't seem to find it. I am attaching a zip file with a maxpatch and two jxs

multipass_test.zip
application/x-zip-compressed 4.27 KB

Rob Ramirez's icon

see my reply here for a fairly complex multipass shader port from shadertoy.
https://cycling74.com/forums/gl3-package-update-0-1-1/replies/1#reply-604fac8279b28e5b1f4484c4

hopefully this will get you going.

michelez's icon

Thank you Rob! I believe this should do the trick.... :)