浏览代码

renamed environmentAlpha to environmentIntensity

SUNAG 9 年之前
父节点
当前提交
687d3d62f4
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      examples/webgl_materials_nodes.html

+ 3 - 3
examples/webgl_materials_nodes.html

@@ -273,7 +273,7 @@
 					//mtl.shadow = // shadowmap
 					//mtl.ao = // ambient occlusion
 					//mtl.environment = // reflection map (CubeMap recommended)
-					//mtl.environmentAlpha = // environment alpha
+					//mtl.environmentIntensity = // environment intensity
 					//mtl.transform = // vertex transformation
 
 					var mask = new THREE.SwitchNode( new THREE.TextureNode( decalDiffuse ), 'w' );
@@ -282,7 +282,7 @@
 					mtl.specular = new THREE.FloatNode( .5 );
 					mtl.shininess = new THREE.FloatNode( 15 );
 					mtl.environment = new THREE.CubeTextureNode( cubemap );
-					mtl.environmentAlpha = mask;
+					mtl.environmentIntensity = mask;
 					mtl.normal = new THREE.TextureNode( grassNormal );
 					mtl.normalScale = new THREE.Math1Node( mask, THREE.Math1Node.INVERT );
 
@@ -305,7 +305,7 @@
 					//mtl.shadow = // shadowmap
 					//mtl.ao = // ambient occlusion
 					//mtl.environment = // reflection map (CubeMap recommended)
-					//mtl.environmentAlpha = // environment alpha
+					//mtl.environmentIntensity = // environment intensity
 					//mtl.transform = // vertex transformation
 
 					var mask = new THREE.SwitchNode( new THREE.TextureNode( decalDiffuse ), 'w' );