Browse Source

Fixed a normalization issue for the PlayBook platform.

Andrei Kopytov 13 years ago
parent
commit
a6653550c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/WebGLShaders.js

+ 1 - 1
src/renderers/WebGLShaders.js

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