Log inGet started
World

Storm Front Kit: Storm Walls, Fog, Lava and Hazards That Chase the Player

README.md

chase_volume

The volumetric front of a stormFrontKit front: a slab of cloud, fog, dust or darkness marched along the view ray, from where the ray enters the slab to where it leaves it or meets the scene, so the front wraps round islands and terrain it is swallowing. The front face billows and rolls forward, the inside darkens with depth, the sun lights the outside (with a light-ray shadow sample per step), and lightning lights the cloud from inside.

One shader, eight looks picked by axisF.w (style id): 0 thunderstorm wall (towering, anvil overhang, rain curtains and lightning bolts), 1 creeping fog (low, bright, tendrils that creep ahead), 2 collapse dust (warm dust and debris haze over the falling ground), 3 shadow void (near black with a violet glowing edge), 4 lava haze (smoke lit orange from below), 5 flood spray, 6 sandstorm (a towering ochre haboob with a rolling nose of dust, sand swirls and blowing sand streaks), 7 glitch wall (blocky voxels that flicker in time slices, lit in split RGB with scanlines and chromatic tearing bands) (thin white mist). The slab's frame is given by origin / axisF / axisU, so the same shader draws a vertical wall (axisF along the route) or a rising layer (axisF = up).

Driven by stormFrontKit.visuals (created per hazard with renderer.material.create); its clock is origin.w so the front animates in edit mode too.