瀏覽代碼

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

Mr.doob 14 年之前
父節點
當前提交
4f4d06b3ce
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/renderers/WebGLShaders.js

+ 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号