feat(render): fade railroad overlay near min zoom

Replace the hard zoom cutoff in RailroadPass with a linear alpha fade
controlled by a new `railFadeRange` setting. Rails (and bridge pixels)
ramp from invisible at `railMinZoom - railFadeRange` to fully opaque at
`railMinZoom`, instead of popping in. Adds a uRailFade shader uniform
and a debug slider.
This commit is contained in:
evanpelle
2026-05-27 15:42:11 -07:00
parent aa3959bffe
commit 23fbc3114a
5 changed files with 29 additions and 6 deletions
@@ -79,6 +79,7 @@
},
"railroad": {
"railMinZoom": 4,
"railFadeRange": 2,
"railDetailZoom": 6,
"railAlpha": 1
},