SSAO2RenderingPipeline

Hierarchy

Index

Constructors

constructor

  • constructor

    Parameters

    • name: string

      The rendering pipeline name

    • scene: Scene

      The scene linked to this pipeline

    • ratio: any

      The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, blurRatio: 1.0 }

    • Optional cameras: Camera[]

      The array of cameras that the rendering pipeline will be attached to

    Returns SSAO2RenderingPipeline

Properties

SSAOBlurHRenderEffect

SSAOBlurHRenderEffect: string

The horizontal blur PostProcess id in the pipeline

SSAOBlurVRenderEffect

SSAOBlurVRenderEffect: string

The vertical blur PostProcess id in the pipeline

SSAOCombineRenderEffect

SSAOCombineRenderEffect: string

The PostProcess id in the pipeline that combines the SSAO-Blur output with the original scene color (SSAOOriginalSceneColorEffect)

SSAOOriginalSceneColorEffect

SSAOOriginalSceneColorEffect: string

The PassPostProcess id in the pipeline that contains the original scene color

SSAORenderEffect

SSAORenderEffect: string

The SSAO PostProcess id in the pipeline

base

base: number

The base color of the SSAO post-process The final result is "base + ssao" between [0, 1]

expensiveBlur

expensiveBlur: boolean

isSupported

isSupported: boolean

maxZ

maxZ: number

Maximum depth value to still render AO. A smooth falloff makes the dimming more natural, so there will be no abrupt shading change.

minZAspect

minZAspect: number

In order to save performances, SSAO radius is clamped on close geometry. This ratio changes by how much

radius

radius: number

The radius around the analyzed pixel used by the SSAO post-process. Default value is 2.0

samples

samples: number

totalStrength

totalStrength: number

The output strength of the SSAO post-process. Default value is 1.0.

Static IsSupported

IsSupported: boolean

Support test.

Methods

addEffect

dispose

  • dispose(disableGeometryBufferRenderer?: boolean): void
  • Removes the internal pipeline assets and detatches the pipeline from the scene cameras

    Parameters

    • Optional disableGeometryBufferRenderer: boolean

    Returns void

getClassName

  • getClassName(): string

Generated using TypeDoc