diff --git a/examples/js/renderers/WebGLDeferredRenderer.js b/examples/js/renderers/WebGLDeferredRenderer.js index 3c7e9a9e303911..b6dbdaff7ca95f 100644 --- a/examples/js/renderers/WebGLDeferredRenderer.js +++ b/examples/js/renderers/WebGLDeferredRenderer.js @@ -1722,7 +1722,7 @@ THREE.ShaderDeferred = { THREE.ShaderChunk[ "skinning_vertex" ], THREE.ShaderChunk[ "project_vertex" ], - " vNormal = normalize( normalMatrix * objectNormal );", + " vNormal = normalize( transformedNormal );", " vPosition = gl_Position;", "}" @@ -2131,7 +2131,7 @@ THREE.ShaderDeferred = { THREE.ShaderChunk[ "skinning_vertex" ], THREE.ShaderChunk[ "project_vertex" ], - " vNormal = normalize( normalMatrix * objectNormal );", + " vNormal = normalize( transformedNormal );", " vPosition = gl_Position;", "}"