Discuss link: rainyday.js (github.com)
Please log in or register to post a reply.
This is a neat effect, although he’s missing two parts.
I’d like to see the impact happening. Have the particle splash onto the window from a distance. Right now I look at it as random circles popping up on the screen.
I’d like to see a trailing effect. I think that could be pulled off in the same way refraction is done. Increment the alpha channel wherever the rain droplet is rendered on a fragment (up to the max value 255). Any part of the texture that has the alpha set is the trigger condition to refract light on that fragment. You then decrement the alpha channel where there is no rain dropplet (down to 0), so eventually the trail fades out and no refraction is calculated. Would be interesting to see that.
I would like to see drops merge when they hit each other