SUNAG %!s(int64=9) %!d(string=hai) anos
pai
achega
157b93e928
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
 						);