Class CustomBumpMapPlugin

Custom Bump Map Plugin Adds a material extension to PhysicalMaterial to support custom bump maps. A Custom bump map is similar to the built-in bump map, but allows using an extra bump map and scale to give a combined effect. This plugin also has support for bicubic filtering of the custom bump map and is enabled by default. It also adds a UI to the material to edit the settings. It uses WEBGI_materials_custom_bump_map glTF extension to save the settings in glTF files.

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,
> = {}
bicubicFiltering: boolean = true
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
materialExtension: MaterialExtension = ...
uiConfig?: UiObjectConfig = undefined
CUSTOM_BUMP_MAP_GLTF_EXTENSION: "WEBGI_materials_custom_bump_map" = 'WEBGI_materials_custom_bump_map'
OldPluginType?: string
PluginType: "CustomBumpMapPlugin" = 'CustomBumpMapPlugin'

Accessors

Methods