mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
a836a96d13
The dust emitter's box fully encloses the arena, so motes drifted through the pitch and hazed the surfaces the player is trying to read. Fade each mote by the Chebyshev distance of its world-space origin outside the play volume, taken from MODEL_MATRIX's translation column so it is unaffected by the billboard rewrite of VERTEX. Motes inside the box are fully hidden and fade in over arena_clear_distance beyond it, so the effect reads as weather drifting around the station rather than through the match. Extents default to ArenaBoundary's play volume and are exposed as uniforms. Also adds the missing .uid sidecar for the shader.
2 lines
20 B
Plaintext
2 lines
20 B
Plaintext
uid://b6p22qfcd7qmt
|