@pmndrs/reflections
    Preparing search index...

    Interface FrameTextures

    The G-buffer and colour targets of one frame. All are width x height.

    interface FrameTextures {
        albedo: GPUTexture;
        clearcoat?: GPUTexture;
        depth: GPUTexture;
        lit?: GPUTexture;
        metalness: TextureChannel;
        motion: GPUTexture;
        normal: GPUTexture;
        roughness: TextureChannel;
        sceneColor: GPUTexture;
    }
    Index
    albedo: GPUTexture

    Base colour (linear, not premultiplied by 1 - metalness) in rgb.

    clearcoat?: GPUTexture

    Optional: the clear coat layer (KHR_materials_clearcoat: F0 0.04 over the base), r = factor, g = perceptual roughness; 0 where there is none. Screen-space hits re-shade it along the ray (W44).

    depth: GPUTexture

    Depth. Hardware depth (depth32float / depth24plus) unless conventions.depthLinear, in which case an r32float of positive view-space distance along -Z.

    lit?: GPUTexture

    Optional: the engine's full lit frame (with its own specular), for debug and comparison.

    metalness: TextureChannel

    Metalness in [0, 1]. F0 = mix(0.04, albedo, metalness).

    motion: GPUTexture

    Screen motion in xy; see conventions.motionVectorScale. 0 where nothing was drawn.

    normal: GPUTexture

    Unit world-space normal in xyz, after normalUnpackMul / normalUnpackAdd.

    roughness: TextureChannel

    Roughness, perceptual or alpha per conventions.roughnessIsPerceptual, after conventions.roughnessUnpack.

    sceneColor: GPUTexture

    HDR scene radiance without specular reflections, the hit radiance for screen-space rays. conventions.sceneColorSpecular says what it holds exactly.