Make medium debug views legible

This commit is contained in:
Meta Vens 2026-05-09 02:54:19 +01:00
commit a601f1d575
5 changed files with 34 additions and 20 deletions

View file

@ -231,11 +231,11 @@ half-resolution medium pass writes a 4x4 frustum slice atlas into diagnostic and
transport textures before the scene pass. Each atlas texel reconstructs a world
position and samples registered medium density there; resolve integrates those
stored cells front-to-back for transport diagnostics. Mode `9` is a separate
world-anchored density slice at Grid altitude, while modes `10` and `11` show
transport transmittance and source respectively. Final composition uses `surface
* transmittance + in-scattering`, gated by the persisted Medium Composite
control. The default is `0`, so the pass can be inspected without changing the
presented frame until the medium is tuned.
world-anchored density column over the Grid plane, while modes `10` and `11`
show transport transmittance and debug-boosted source respectively. Final
composition uses `surface * transmittance + in-scattering`, gated by the
persisted Medium Composite control. The default is `0`, so the pass can be
inspected without changing the presented frame until the medium is tuned.
The running window also has a Direct2D debug panel toggled with `F2`. It follows
the CultLib code-first composition style rather than an immediate-mode toolkit: