@pmndrs/reflections
    Preparing search index...

    Class ScreenSpaceReflections

    Index
    denoise: boolean = true

    Denoise the traced signal when a denoiser was given.

    device: GPUDevice
    enabled: boolean = true

    Trace rays. Off: every reflective pixel takes the fallback at its own roughness (probes / environment only).

    probes: PixiProbeSet | null
    renderer: Renderer

    The denoise seam (null without a denoiser).

    • (Re)allocates for a render size (G-buffer pixels). The output textures are new allocations after a resize.

      Parameters

      • width: number
      • height: number

      Returns void

    • Records core's passes into encoder and submits it (with whatever the caller recorded before, e.g. the frame unpack), then denoises (when set) and repacks into the pixi textures. pixi's next render samples the results.

      Parameters

      Returns void