I have a matrix which I'm pumping into a jit.gl.texture object to create a GL texture. This works great, and the texture inherits the size of the matrix that I feed in.
However, what if I want to do some processing in GL at a higher resolution than the original matrix?
Ideally, I'd like just to resample the original matrix (at an integer multiple for speed) into the texture, then process it using my fragment and vertex shaders via a jit.gl.slab.
I could just make the jit.matrix bigger, but pumping around this much data outside of GL is slow slow slow.
Is there a way to do this inside GL?
I tried @dim cx cy on the jit.gl.texture, it didn't change anything. Also tried messing around with the td.resample.jxs sample in jitter-shaders without much luck.