1
0
Эх сурвалжийг харах

Merge remote-tracking branch 'jfeldste/master' into dev

Mr.doob 14 жил өмнө
parent
commit
4f4d06b3ce

+ 1 - 1
src/renderers/WebGLShaders.js

@@ -1289,7 +1289,7 @@ THREE.ShaderLib = {
 			"void main() {",
 
 				"vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );",
-				"vNormal = normalize( normalMatrix * normal );",
+				"vNormal = normalMatrix * normal;",
 
 				"gl_Position = projectionMatrix * mvPosition;",
 

粤ICP备19079148号