Mirage Wells: Desert Dunes, Oasis and Ruins Kit
- ..
- .metadata17 B
- README.md708 B
- properties.yaml1.2 KB
- shader.wgsl3.8 KB
README.md
dk_heat_shimmer.shader
A light-space post-process pass for desert heat: rays that skim the hot ground near the horizon and travel far wobble with rising, horizontally stretched noise, while anything nearer than nearStart stays sharp (the pass refuses to pull near pixels into the shimmer, so no ghost edges). Just below the horizon line, far ground turns into an inferior mirage: the sky and whatever stands on the horizon are mirrored faintly upside down as a bright shimmering "pool". One full-screen pass, two depth reads and two or three scene reads per pixel; strength = 0 returns the frame untouched. desertKit's HeatShimmer module registers it and drives strength from the heat of the day.