EventDispatcherNodeTempNode

BumpMapNode

This class can be used for applying bump maps to materials.

Code Example

material.normalNode = bumpMap( texture( bumpTex ) );

Constructor

new BumpMapNode( textureNode : Node.<float>, scaleNode : Node.<float> )

Constructs a new bump map node.

textureNode

Represents the bump map data.

scaleNode

Controls the intensity of the bump effect.

Default is null.

Properties

.scaleNode : Node.<float>

Controls the intensity of the bump effect.

Default is null.

.textureNode : Node.<float>

Represents the bump map data.

Source

src/nodes/display/BumpMapNode.js