Browse Source

Merge remote-tracking branch 'remotes/mrdoob/dev' into unflip

alteredq 13 years ago
parent
commit
e34205a6fe

+ 1 - 1
examples/js/effects/AnaglyphEffect.js

@@ -43,7 +43,7 @@ THREE.AnaglyphEffect = function ( renderer ) {
 
 			"void main() {",
 
-			"	vUv = vec2( uv.x, 1.0 - uv.y );",
+			"	vUv = vec2( uv.x, uv.y );",
 			"	gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );",
 
 			"}"

+ 1 - 1
examples/js/effects/ParallaxBarrierEffect.js

@@ -43,7 +43,7 @@ THREE.ParallaxBarrierEffect = function ( renderer ) {
 
 			"void main() {",
 
-			"	vUv = vec2( uv.x, 1.0 - uv.y );",
+			"	vUv = vec2( uv.x, uv.y );",
 			"	gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );",
 
 			"}"