Recreating @boundmode 1 (clear) using jit.gl.pix
Max Patch
Copy patch and select New From Clipboard in Max.
This feels like it should be absurdly simple but I still have trouble wrapping my head around achieving certain things using gen. I'm trying to recreate the offset_x function of jit.rota in jit.gl.pix but the sample mode only allows for wrap, mirror and clamp. I want to recreate it to act like boundmode 1 in jit.rota wherein the image sliding along the x axis leaves only video black past the offset point. Any ideas? Attached is the code thus far (using jit.gl.hap).
Max Patch
Copy patch and select New From Clipboard in Max.
Try this.