arcticKit.package
This package holds more than this page lists. See all of its files in its world.
README.md
Aurora
The northern lights over the tundra and the one shared choice of which kind shows. Four kinds, drawn by arcticKit's polar sky shader in closed form (each curtain is a vertical sheet a view ray meets analytically, so there is no raymarch and no extra draw call):
curtains: classic green curtains with rippling folds and a pink lower fringestorm: tall crimson and purple rays above a bright yellow-green bandcrown: a corona of green and violet rays converging near the zenith, pulsing outwardquietArc: a faint, still green arc low over the northern horizonoff
Aurora.set(kind, { fade }) changes it for every player: it writes the ArcticAtmosphere component's synced aurora field when this peer may, and broadcasts it on arcticKit.aurora; a late joiner reads the field and asks the room. Aurora.shade(dt, visibility) gives the sky shader its lanes. Atmos calls it with the darkness of the sky, so the lights show at night, faintly at dusk, never by day or under cloud.