@pmndrs/reflections
    Preparing search index...

    Interface ReflectionUpsampleInputs

    interface ReflectionUpsampleInputs {
        confidence: GPUTexture;
        frame: FrameInputs;
        hitDistance: GPUTexture;
        radiance: GPUTexture;
        source?: GPUTexture | null;
        targets?: ReflectionUpsampleOutputs;
        weightInAlpha?: boolean;
    }
    Index
    confidence: GPUTexture

    Half-res r32float confidence.

    The full-res frame the half-res signal was point-sampled from: its depth, normal and roughness guide the weights.

    hitDistance: GPUTexture

    Half-res r32float hit distance.

    radiance: GPUTexture

    Half-res rgba16float (or any float): what to upsample, all four channels.

    source?: GPUTexture | null

    Half-res source codes in .r (RT_SOURCE), for sourceMask; none: every sample is code 0.

    Write into these full-res textures (formats as ReflectionUpsampleOutputs, STORAGE_BINDING) instead of the upsample's own, e.g. an engine's textures its shaders sample. All four, or none.

    weightInAlpha?: boolean

    radiance.a is a blend weight (X5: the composite's ssrWeight), not FFX's ray length: it is upsampled in the confidence's place (bilateralFill's plain weighted mean; the ray length is confidence-weighted since W74's review), written to both the output's alpha and confidence, and confidence above is not read. Default false.