Class NormalBufferPlugin

Normal Buffer Plugin

Adds a pre-render pass to render the normal buffer to a render target that can be used for postprocessing.

Hierarchy (view full)

Constructors

Properties

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

Type declaration

bufferType: TextureDataType
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
material: MeshNormalMaterial = ...
passId: "normal" = 'normal'
texture?: Texture
uiConfig?: UiObjectConfig<any, string, any> = undefined
PluginType: "NormalBufferPlugin" = 'NormalBufferPlugin'

Accessors

Methods

Generated using TypeDoc