Files
CosmicClash/Game/shaders/nebula_dust.gdshader.uid
T
Josh Creek a836a96d13 feat(weather): keep nebula dust clear of the play volume
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.
2026-08-04 13:36:43 +01:00

2 lines
20 B
Plaintext