CLASSES
TagsA - Z

SSAORenderingPipeline

PostProcessPostProcessRenderPipeline

Description

class SSAORenderingPipeline extends PostProcessRenderPipeline

Constructor

new SSAORenderingPipeline(name, scene, ratio, cameras)

@constructor

Parameters

Name Type Description
name string
scene Scene
ratio any

Members

SSAOOriginalSceneColorEffect : string

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

@type {string}

SSAORenderEffect : string

The SSAO PostProcess id in the pipeline

@type {string}

SSAOBlurHRenderEffect : string

The horizontal blur PostProcess id in the pipeline

@type {string}

SSAOBlurVRenderEffect : string

The vertical blur PostProcess id in the pipeline

@type {string}

SSAOCombineRenderEffect : string

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

@type {string}

totalStrength : number

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

@type {number}

radius : number

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

@type {number}

area : number

Related to fallOff, used to interpolate SSAO samples (first interpolate function input) based on the occlusion difference of each pixel

Must not be equal to fallOff and superior to fallOff.

Default value is 0.975

@type {number}

fallOff : number

Related to area, used to interpolate SSAO samples (second interpolate function input) based on the occlusion difference of each pixel

Must not be equal to area and inferior to area.

Default value is 0.0

@type {number}

base : number

The base color of the SSAO post-process

The final result is "base + ssao" between [0, 1]

@type {number}

Methods

dispose(disableDepthRender) void

Removes the internal pipeline assets and detatches the pipeline from the scene cameras

Parameters

Name Type Description
optional disableDepthRender boolean