Is it possible to iterate over a second texture in [jit.gl.pix]?
I want to get the vector magnitude between of each cell from a streaming texture [in 1] and each cell in a static texture [in 2].
For each [cell] of [in 1]:
- I need to iterate over all the cells of [in 2]
- Calculate the vector magnitude between [in 1]'s cell and each cell in [in 2], finding the combination with the smallest magnitude
- Place the nearest match in the [cell] of the output texture.
Then repeat for each [cell] of [in 1]. Essentially I'm trying to make a [jit.charmap] on the GPU working with floats and in 3 (or even 4) dimensions simultaneously.