Class: GLTFMaterialsBumpMapExtension
Asset-Management.GLTFMaterialsBumpMapExtension
Bump Map Extension
bumpTexture and bumpScale are added to the material
Specification: https://webgi.xyz/docs/gltf-extensions/WEBGI_materials_bumpmap.html
Properties
name
• name: string
parser
• parser: GLTFParser
Constructors
constructor
• new GLTFMaterialsBumpMapExtension(parser
)
Parameters
Name | Type |
---|---|
parser | GLTFParser |
Methods
extendMaterialParams
▸ extendMaterialParams(materialIndex
, materialParams
): Promise
<void
| Texture
<TextureEventMap
>[]>
Parameters
Name | Type |
---|---|
materialIndex | number |
materialParams | any |
Returns
Promise
<void
| Texture
<TextureEventMap
>[]>