We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I realise this is a very vague question.
I have a grid composed of thousands of rectangles, and their colour is updated each frame. This makes the sketch call the fill() + rect() function around 40,000 times each frame.
Is there any way I could feed the info for each cell in the grid (cellX, cellY, cellR, cellG, cellB) to a shader and have that render the grid?
I know very little about GLSL, and I apologise if this is a stupid question but I'm desperate to get my CPU usage down.
Thanks in advance for your help,