mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 14:07:06 +01:00
3de73b0e85
The layer of 1024 x 1024 texels over the whole uv gave a glass taking a part of its texture too few of them (the EP09 104ec: ~470 across the glass, 1.8 pixels of the screen a texel at 1080p), so the lumps came out soft. Now the layer lies over the rectangle of the uv the glass takes, its 2M texels across and down as the glass is wide and high (~1 mm a texel); the renderer works it out from the map of the glass when it sets the glass up and puts it in the storage (water.glsl, water_layer_rect). One layer, for the first glass of the snow of the cab (a cab has one as a rule); a second one lays its snow at every pixel as before the layer, the same look, slower. The storage of the water: 58 MiB before the layers, 82 MiB now (106 MiB with the four layers of 1024 x 1024). No assets change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD