Back to Three Js

NormalMapShader

docs/pages/module-NormalMapShader.html

latest553 B
Original Source

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