Browse Source

fix renamed environmentAlpha to environmentIntensity

SUNAG 9 years ago
parent
commit
78a90944f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgl_materials_nodes.html

+ 1 - 1
examples/webgl_materials_nodes.html

@@ -619,7 +619,7 @@
 
 					mtl.color = new THREE.ColorNode( 0x3399FF );
 					mtl.environment = color;
-					mtl.environmentAlpha = new THREE.Math1Node( fresnel, THREE.Math1Node.SAT );
+					mtl.environmentIntensity = new THREE.Math1Node( fresnel, THREE.Math1Node.SAT );
 
 					// GUI