Gate volumetric medium composition
This commit is contained in:
parent
18ef6c0a5e
commit
8593f3be56
12 changed files with 89 additions and 27 deletions
|
|
@ -45,7 +45,8 @@ again during orderly shutdown.
|
|||
- name: `aquarium-client-graphics`
|
||||
|
||||
It stores global renderer presentation controls: render debug mode, scene
|
||||
exposure, bloom intensity, and bloom veil intensity. `GraphicsSettings` lives in
|
||||
exposure, bloom intensity, bloom veil intensity, and medium composite intensity.
|
||||
`GraphicsSettings` lives in
|
||||
the contracts assembly so the native host and renderer can consume the same
|
||||
typed values without depending on CultCache internals. The Direct2D debug panel
|
||||
edits the renderer copy, the host syncs changed values back to the live runtime,
|
||||
|
|
|
|||
|
|
@ -228,15 +228,17 @@ startup mode can still be set with `--render-debug` or
|
|||
Fog work has started behind diagnostics rather than final-frame haze. The host
|
||||
packs stable field instances into a structured buffer shared with HLSL. A
|
||||
half-resolution medium pass writes registered density, transmittance, and source
|
||||
lighting into a separate texture before the scene pass. Modes `9`, `10`, and
|
||||
`11` show medium density, transmittance, and source respectively. The signals
|
||||
are deliberately debug-only until the explicit volume composition path exists.
|
||||
lighting into diagnostic and transport textures before the scene pass. Modes
|
||||
`9`, `10`, and `11` show medium density, 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.
|
||||
|
||||
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:
|
||||
controls are retained rows bound to `Func<T>`/`Action<T>` pairs. The first panel
|
||||
drives render debug mode, exposure, bloom intensity, and bloom veil. Those HDR
|
||||
controls feed the shader constant buffer directly and round-trip through the
|
||||
drives render debug mode, exposure, bloom intensity, bloom veil, and medium
|
||||
composite strength. Those presentation controls feed the shader constant buffer directly and round-trip through the
|
||||
global `GraphicsSettings` CultCache document; they are not cosmetic labels
|
||||
painted over hardcoded renderer state.
|
||||
|
||||
|
|
|
|||
|
|
@ -101,8 +101,9 @@ except to replace them.
|
|||
Current status: the renderer now packs a first fixed-size field instance buffer
|
||||
for Self, planets, and local cloud/medium ellipsoids. HLSL consumes that buffer
|
||||
in a half-resolution medium pass that writes density, transmittance, and source
|
||||
diagnostics while final scene color remains unchanged. This is the contract
|
||||
foothold, not the final volume renderer.
|
||||
diagnostics plus transport. Final composition uses the transport texture behind
|
||||
a persisted intensity gate that defaults to zero. This is the contract foothold,
|
||||
not the final volume renderer.
|
||||
|
||||
### Gate 2: Broad Phase
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue