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

Constructors

Properties

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

Type declaration

bicubicFiltering: boolean = true
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
materialExtension: MaterialExtension = ...
uiConfig?: UiObjectConfig<any, string, any> = undefined
CUSTOM_BUMP_MAP_GLTF_EXTENSION: "WEBGI_materials_custom_bump_map" = 'WEBGI_materials_custom_bump_map'
OldPluginType?: string
PluginType: "CustomBumpMapPlugin" = 'CustomBumpMapPlugin'

Accessors

Methods

Generated using TypeDoc