Expand description
Screen-space global illumination (SSGI) configuration. Backend-agnostic
resolve of the authored PostProcessConfig SSGI fields into clamped
settings, plus the per-frame GPU uniform. SSGI is a refinement of SSR: it
reuses the same depth + normal pre-pass G-buffer and screen-space ray-march,
but integrates bounced radiance over a cosine-weighted hemisphere instead of
along a single reflection vector, and adds the result on top of the IBL
ambient term. The hemisphere gather itself lives in each backend’s shader;
this module owns only the parameter math so it can be unit-tested without a
GPU.
Structs§
- Ssgi
Settings - Clamped SSGI tunables resolved from the authored asset fields. Held by the
backend and turned into a per-frame
SsgiParamsonce the camera is known.