OptionalalbedoBase colour (linear rgb) for the re-shade's F0 = mix(0.04, albedo, metalness) (W44). Without it F0 is 0.04.
OptionalclearcoatClear coat for the re-shade (W44, D3541): r = factor, g = perceptual roughness. Without it no coat.
Lit scene colour without specular (the radiance a hit returns).
Device depth: a depth texture, or r32float. Same size as the tracer.
OptionalfallbackBind group for the radiance fallback's @group(1), if it has one.
OptionalhistoryLast frame's lit colour (any float format, render size), for hitColor: 'history': hits load it
at the hit reprojected through motion, so a mirror seen in a mirror shows its reflection
instead of the specular-free scene colour (D69).
OptionalhitBind group for hitSpecularShading's @group(3), if it has one.
OptionalhitLast frame's per-pixel hit source (W52, D3641): RT_SOURCE codes in r (0 = the screen-space
result, 1 traced hit, 2 traced miss, 3 capped, 4 traced hit shaded from the screen), render
size, any float format; e.g. the traced pass's source before this frame's dispatch clears it.
Read with the option hitSource for settings.hitLobeFilterMixed.
OptionalmetalnessMetalness channel for the re-shade (W44). Without it 0.
OptionalmotionMotion vectors (uv-space current - previous, times motionVectorScale): read only with hitColor: 'history'; carried for the denoise seam.
OptionalmotionScale that turns a motion texel into uv-space current - previous. Default [1, 1].
World-space normal, decoded as normalize(mul * texel.xyz + add).
OptionalnormalDefault { mul: 1, add: 0 } (raw float normals, e.g. rgba16float); unorm-packed normals use { mul: 2, add: -1 }.
A material texture holding roughness in roughnessChannel.
OptionalroughnessOptionalroughnessRoughness is perceptual and gets squared (three: true). Default true.
Optionalroughnessroughness = texel[roughnessChannel] * mul + add, before squaring. Default { mul: 1, add: 0 }; glossiness is { mul: -1, add: 1 }.
OptionalvarianceLast frame's reflection variance (denoiser output), for variance-guided tracing.
This tracer's frame inputs (W4 defines the general frame contract; the lead reconciles them).