Well you want to use that for your water particles, right? Shaders on particles simply do not work, you would need to use sprites instead. However, you can render only the particles in a second view, use the result as a mask, calculate contours and the like (if necessary) and apply your water effect on the scene/ appropriate parts of the mask.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends