Sfoglia il codice sorgente

fix renamed environmentAlpha to environmentIntensity

SUNAG 9 anni fa
parent
commit
78a90944f5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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