01Overview
I built this windshield rain system for an unannounced personal project because I wanted the rain to feel attached to the car, not pasted on top of the camera.
The effect is a GPU simulation on the windshield. Drops live in windshield UV space, get pushed by gravity, wind, vehicle motion, and wiper blades, then splat into a heightfield texture. The glass shader reads that heightfield, turns it into normals, refracts the scene behind the windshield, adds wet glints, and uses a wiper mask to cut clean arcs through the water.
That is the whole idea: simulate just enough water movement to make the glass respond to driving.