Class SSAOPlugin

SSAO Plugin

Adds Screen Space Ambient Occlusion (SSAO) to the scene. Adds a pass to calculate AO, which is then read by materials in the render pass.

Hierarchy (View Summary)

Constructors

Properties

_dirty: boolean = false
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<
    | "dispose"
    | "*"
    | "update"
    | "preRender"
    | "postRender"
    | "preFrame"
    | "postFrame"
    | "addPlugin"
    | "removePlugin"
    | "renderEnabled"
    | "renderDisabled",
    (e: IViewerEvent) => void,
> = {}
bufferType: TextureDataType
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
dependencies: typeof GBufferPlugin[] = ...
enabled: boolean = true
passId: "ssao" = 'ssao'
sizeMultiplier: number
texture?: Texture
uiConfig?: UiObjectConfig = undefined
OldPluginType: "SSAO" = 'SSAO'
PluginType: "SSAOPlugin" = 'SSAOPlugin'

Accessors

Methods