Readonlydenoise1 while composites use the denoised radiance (set by update(); read by every composite).
ReadonlydenoisedThe denoiser's output (rgba16float, render size), copied each frame update() denoises.
W53 (D3660): hand the denoiser a per-pixel hit source (screen-space hit / traced hit / miss,
core HIT_SOURCE, built by the seam from the tracer's confidence and the ray-traced pass's
codes), so a denoiser that supports it keeps them apart (FFX: separateHitSources: true, set on
the denoiser itself). Default false: the denoiser gets what it got before.
W78 (X3 phase B, D5140): hand the denoiser each pixel's sample direction and pdf
(SpecularInputs.direction, the tracer's outputs.sampleDirection), so a denoiser that
supports it weights samples by BRDF / pdf (FFX: brdfWeights, set on the denoiser itself).
Needs the pass's settings.sampleDirection; without that output nothing is passed. Full
resolution only. Default false.
W85 (T36): hand the denoiser's variance (FFX: denoiser.variance, Denoiser #25) back to the tracer, so
settings.temporalVarianceGuidedTracing / varianceThreshold add rays where the denoiser is unsure (FFX's
variance-guided tracing; the quad's other pixels trace where last frame's variance is above the threshold).
Off by default; needs a denoiser with a variance getter, else nothing happens.
ReadonlydepthDepth-aware blend (W22, D2400; the composite's depthAware), shared by the signal pass and every
composite: 1 (default) keeps the probe off hits it lies behind, 0 = FFX's confidence blend.
W77: set when a hit-source mode other than 'off' could not reach the denoiser (it has no
setOptions): the per-pixel source is still handed over, but the denoiser may ignore it. Warned once.
ReadonlyoptionsReadonlyroughnessThe tracer's perceptual roughness threshold, for the source view.
ReadonlysignalThe raw signal as handed to the denoiser (rgba16float render target).
ReadonlyssrW75 (X5): the joint bilateral upsample's weights (core ReflectionUpsampleSettings: plane
tolerance, normal power, roughness tolerance, source mask, min weight sum, wide fallback), read
every frame with ssr.settings.reflectionResolution: 'half'.
The attached denoiser (null: none).
The mode setDenoiserHitSource (or a preset) set, or null for the app's own.
The seam (guides of the last frame, for debug).
W75: the half-res path's full-res targets (null until a composite is built in 'half' mode): the upsampled residual (rgba16float, rgb = specular - (1 - ssrWeight) x SO x probeSpecular of the half-res samples, a = their ssrWeight; D5081), confidence, hit distance and source (r32float), read by composites built in 'half' mode.
Build a composite (TSL nodes) that uses the denoised radiance while the denoiser runs. Pass a
uv to composite at another screen uv (e.g. a debug grid cell).
With the pass's timestamps: GPU ms of the last half-res frame's upsample ('upsample'); empty in 'full' mode.
Rebuild the signal pass after changing options (probes, environment, ao: e.g. on a scene
switch); composites built before keep their old sources, so rebuild those too. Drops history.
Drop the denoiser's history (camera cut, scene switch).
W77: back to the app's own hit source: denoiserHitSource as constructed, and the attached denoiser's
own options as it was built with (what applyReflectionsPreset does for a preset without one).
Attach or swap the denoiser (null detaches). The old one is not disposed.
W77 (W53, D3660): what the denoiser gets as a per-pixel hit source and how it uses it: 'off',
'hits' (screen-space vs traced hits kept apart; misses blend with either) or 'all'. Sets
denoiserHitSource and the denoiser's own options (core denoiserHitSourceOptions, FFX's names)
through its setOptions when it has one; warns once when a mode other than 'off' can't reach the
denoiser. Drops the denoiser's history. Kept for a denoiser attached later.
StaticsourceDebug colours for sourceIndex: SSR green, traced blue, probe orange, environment magenta, rough grey.
StaticsourceDebug: which source filled each pixel (HYBRID_SOURCE): background, SSR hit (the composite's
ssrWeight >= 0.5; FFX's confidence with the depth-aware blend off),
traced hit, rough (above the threshold, probe/env only), else the miss's fallback (probe where
local coverage >= 0.5, environment otherwise).
Per frame, after ssr.render() (or ssr.trace()): render the signal and denoise it.
Denoise when a denoiser is attached. Default true.