mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 17:37:09 +01:00
96787b97cc
The engine counts the insects the vehicle of the wipers meets (seconds of driving at 100 km/h: nothing below 20 km/h, then (v - 20) / 80 a second) and gives the count to the shaders in rain_wind.w, with the count of the moments the blades were at the ends of their sweep in two new vec4 at the end of the block of the scene (wiper_bugs_out, wiper_bugs_return, next to the timers). mat_bugs_windscreen grows the dirt from the insects met since the glass was clean instead of from the time, so a vehicle standing still gets no bugs and a fast one gets them sooner (full after an hour at 100 km/h). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD