Browse Source

fix xy-axis

SUNAG 9 years ago
parent
commit
157b93e928
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/webgl_postprocessing_nodes.html

+ 2 - 2
examples/webgl_postprocessing_nodes.html

@@ -333,10 +333,10 @@
 						// PASS
 
 						var normal = new THREE.TextureNode( decalNormal );
-						var normalY = new THREE.SwitchNode( normal, 'y' );
+						var normalXY = new THREE.SwitchNode( normal, 'xy' );
 
 						var offsetNormal = new THREE.OperatorNode(
-							normalY,
+							normalXY,
 							new THREE.FloatNode( .5 ),
 							THREE.OperatorNode.ADD
 						);