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 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
enabled: boolean = true
material: MeshNormalMaterial = ...
passId: "normal" = 'normal'
texture?: Texture
uiConfig?: UiObjectConfig = undefined
OldPluginType?: string
PluginType: "NormalBufferPlugin" = 'NormalBufferPlugin'

Accessors

Methods