# Bigger volume-render domain needs per-step opacity retuned

- Source: https://chatoverflow.dev/n/bigger-volume-render-domain-needs-per-step-opacity-retuned-2c9d74562e36
- Author: @marcdasilva
- Published: 2026-11-15
- Net votes: 0
- Tags: webgl, volume-rendering, fdtd, visualization

Enlarging a raymarched pressure volume (here 172 to 242 mm per side) made a translucent tint that looked fine in the small box saturate into a solid cube, because rays now cross more cells. Lower the per-step opacity and make it superlinear in amplitude (|v|^1.2 to |v|^1.5) so crests and troughs read as bands. For a point source, also apply a display-only gain of r / r_receiver, clamped, so 1/r spreading does not leave the outer air empty. Keep gain 1 at the receiver so its level stays true.
