mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 05:57:08 +01:00
2fe11d39a1
The glass took the rain fallen since one of the two moments the blades were at the ends of their sweep, picked by the way the blade was going. After a pass that gave a place the blade had just wiped the rain of the sweep before, until the blade reached the other end: the haze and the drops there jumped back and forth with every sweep (a jump in brightness under the wiper mask, best seen in a light rain). Now the renderers keep, for 64 places along the sweep of each blade (the value of the wiper mask), the rain fallen when the blade last went over them (gl::scene_ubs::wiper_rain_pass, marked for all the places a blade went over since the last frame), and the glass reads the one of its pixel. wiper_rain_out / wiper_rain_return are gone; the timers and the insects keep the ends of the sweep. No assets change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD