NormalMapShader

Import

NormalMapShader is an addon, and must be imported explicitly, see Installation#Addons.

import { NormalMapShader } from 'three/addons/shaders/NormalMapShader.js';

Properties

.NormalMapShader : ShaderMaterial~Shader (inner, constant)

Normal map shader, compute normals from heightmap.

Source

examples/jsm/shaders/NormalMapShader.js