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 full)

Constructors

Properties

_dirty: boolean = false
_gbufferUnpackExtension: undefined | MaterialExtension = ...
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<"update" | "dispose" | "preRender" | "postRender" | "preFrame" | "postFrame" | "*" | "addPlugin" | "removePlugin" | "renderEnabled" | "renderDisabled", ((e) => void)> = {}

Type declaration

bufferType: TextureDataType
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
dependencies: typeof GBufferPlugin[] = ...
enabled: boolean = true
passId: "ssao" = 'ssao'
sizeMultiplier: number
texture?: Texture
uiConfig?: UiObjectConfig<any, string, any> = undefined
OldPluginType?: string
PluginType: "SSAOPlugin" = 'SSAOPlugin'

Accessors

Methods

Generated using TypeDoc