Using GLSL to achieve an ink bleed effect

edited July 2016 in GLSL / Shaders

I've been using shaders for various things for a while, but I haven't really successfully started and finished an idea for a shader of my own. What I want to do is use a shader to take an image and spread out the pixels in a way that resembles ink spreading across paper.

What I am thinking initially is that I can begin by creating a matrix of random values for every pixel in the image, which would almost represent the "weight" of the ink, and with time, the image will scale outwards, with each individual color, depleting the random number it was initially associated with.

I still have huge gaps in my understanding of how I would do this, does anyone have any advice? Or know of a shader that is similar in concept that I could take a look at?

Sign In or Register to comment.