Explorar o código

fix renamed environmentAlpha to environmentIntensity

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