trying to sample vertex points in gl.texture
I need to sample vertex points for further processing in my geom shader but sampling with jit.gl.texture give me swapped results.
Please see the attached example
Max Patch
Copy patch and select New From Clipboard in Max.
What would be the right way of doing that? Thanks!
try with this:
Max Patch
Copy patch and select New From Clipboard in Max.
you need to only send the first 3 position planes and discard the rest. jit.pack is your friend.
Max Patch
Copy patch and select New From Clipboard in Max.
Thanks, but this will convert the point to ints and I need to preserve floats.
it shouldn't, how are you determining that?
Hi Rob and thanks for the example. I was answering Matth, your solution is fine!