tex 1x25 to tex 5x5

Guillaume's icon

Hello, I didn't found the solution for this problem.
I have a serie of 25 random colors stored in a 1x25(dim) texture. I would like to send all these values to another texture 5x5(dim),and keep exactly the order of the colors... It's maybe super easy I'm sorry but I didn't found any solution

Thank you and have a nice day :)

Guillaume's icon

I think I need something like jit.scanwrap but in opengl... possible?

Jesse's icon

Easy to do in jit.gl.pix

Max Patch
Copy patch and select New From Clipboard in Max.

Guillaume's icon

wow thank you man, I feel stupid now :) I wanted to know how to do that because I'm using jit.gl.model @matrix_output 1 in my project and it output a one dimension matrix...