We are about to switch to a new forum software. Until then we have removed the registration on this forum.
For one of my sketches I need to take a black an white PImage and remove all the white pixels. I did it using the usual pixel array method but this slows down my sketch considerably (its already computing the physiscs for 1000 particles). I really want to learn how to use the GLSL shaders but as I'm not skilled in C thats going to take some time. For now can someone give me a quick solution?
TIA
Answers
Figured it out. In case anyone else ever needs this, here's a simple shader I made: