World-space box center.
World-space half-extents along X/Y/Z.
Added media density inside the box.
OptionalcolorScatter-albedo tint inside the box (default white).
OptionalfalloffSoft-edge width in world units measured inward from the box face. 0 = hard.
OptionalnoiseWorld-space fbm noise frequency that carves the density into wisps. 0 (default) = uniform-density box.
OptionalnoiseHow much the noise carves the density: 0 (default) = solid, 1 = fully modulated (the box reads as drifting cloud).
OptionalnoiseDrift speed of the noise (animated via ctx.elapsedTime). 0 = static.
An axis-aligned box of denser, optionally tinted fog.