Log inGet started
Package

fireworks.shader

Newest version

README.md

fireworks

The Copa trophy moment's fireworks, drawn in one call: every spark of every burst is a camera-facing quad whose four vertices sit at the origin; the normal carries the spark's direction, vertex colour r the burst index (of 12) and a the spark's seed, uv the quad corner. Each burst's shell rises from the stands with a little trail, bursts into a sphere of sparks that drag, fall and fade with a crackle. Colours run through the game's palette (gold, green, blue, white, red). Lane 0: x seconds since the show started, y 1 while it runs. Lane 3: xyz the camera position (for the billboards), w 1 when set.