浏览代码

fix renamed environmentAlpha to environmentIntensity

SUNAG 9 年之前
父节点
当前提交
78a90944f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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