@pmndrs/reflections
    Preparing search index...

    Class FrameGraphReflectionsCompositeTask

    The composite as a frame-graph post-process task. sourceTexture is the lit colour; the other inputs are the G-buffer and a FrameGraphReflectionsTask's outputs.

    Hierarchy

    • FrameGraphPostProcessTask
      • FrameGraphReflectionsCompositeTask
    Index
    amount: number = 1

    0..1: how much of the reflection term is added.

    camera?: Camera
    confidenceTexture?: number
    debugView: number = 0

    Index into COMPOSITE_VIEWS.

    depthTexture?: number
    hitDistanceTexture?: number
    postProcess: ThinCustomPostProcess

    The post process to apply.

    radianceTexture?: number
    reflectivityTexture?: number
    specularFactors: boolean = true

    Apply the strip plugin's per-pixel factors (specular AO, horizon occlusion, clear coat / sheen attenuation, multi-scatter energy compensation) to the weight, as Babylon does to its own specular IBL. Off: the bare split-sum weight.

    velocityTexture?: number
    worldNormalTexture?: number
    • Parameters

      • skipCreationOfDisabledPasses: boolean = false

      Returns FrameGraphRenderPass

    • The view by name.

      Parameters

      • view:
            | "normal"
            | "roughness"
            | "motion"
            | "radiance"
            | "confidence"
            | "hitDistance"
            | "final"
            | "lit"
            | "reflection"
            | "f0"
            | "weight"
            | "specularFactor"

      Returns void