18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 07:07:05 +01:00
Files
maszyna/gl
Claude a7e229c69f Windscreen snow: the layer lists the sprites of each texel, the glass lays them sharp [skip ci]
The layer of the snow held the snow laid together at ~1 mm a texel, so the
glass showed it filtered: softer lumps, flatter normals and refraction than
when every pixel laid the sprites itself. Now water_snowlayer.comp lists, for
each texel, the sprites coming within it (up to 16, in the order they are
laid, the covered ones left out), and mat_snow_windscreen.frag lays only those
at its pixels, sharp from the atlas, as the full look through every cell did.
The layer grows from three to four uint a texel (+8 MiB).

The snow also uses all the tiles of the atlas: mostly the icy fleece of the
first two rows (0-7), now and then a lump of packed snow (10-13) or, more
rarely, a wet one (8, 9); a drop now and then a wet lump with its film (14).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-24 12:10:51 +01:00
..
2026-10-11 13:22:33 +02:00