does anyone know of a gl shader that can act like jit.glue in 2d with 4 char jit matricies as inputs?
This might be a little tricky to implement, but it’s definitely
possible. The GLSL is actually pretty simple to learn once you look
into it. I recommend picking up a copy of the orange book. You will
basically need to be scaling and offsetting texcoord values, as well as
providing some sort of logic that defines which texture input is drawn
at each pixel. The tricky part will be explicitly setting the size of
each input texture and then the size of the output texture.
I have done that with several textures to several jit.gl.videoplane,
all resized to a portion of the gl world. It works perfectly fine!
The fun thing is that you can move them around after that!
Using textures works a treat.
C74 RSS Feed | © Copyright Cycling '74