This class can be used for applying bump maps to materials.
material.normalNode = bumpMap( texture( bumpTex ) );
export {}Constructor
new BumpMapNode(textureNode, scaleNode?)| Parameter | Type | Default Value |
|---|---|---|
| textureNode | Node<float> | — |
| scaleNode? | any | null |
Constructs a new bump map node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| textureNode | any | — | |
| scaleNode | any | — | |
| Method | Type | |
|---|---|---|
| setup | () => void | |
Extends
TempNodeTSL function for creating a bump map node.
| Parameter | Type | Default Value |
|---|---|---|
| textureNode | Node<float> | — |
| scaleNode? | Node<float> | — |
Returns
BumpMapNode