GPU ping pong delay video example

Luís Arandas's icon

Hello all.
I'm trying to make a video effect to add to a jit.world (through a videoplane image texture) that resembles this behavior https://www.shadertoy.com/view/XtKczm.

Doesn't really have to be a ping pong delay between the graphics card even though I think it might be faster. Does any1 can give me a hint on how to do this? I wonder if the best way would be to use jit.gl.slab with jxs shader files. Can't find anything like this in the examples.

Thanks!

Pedro Santos's icon

jit.gl.textureset

Available on Max 8.2, see the example on the help file.

Rob Ramirez's icon

and for a simpler version that is almost an exact port of that shadertoy example:

Max Patch
Copy patch and select New From Clipboard in Max.

Luís Arandas's icon

Exactly this. Thank you both.