提交 687d3d62 编写于 作者: S SUNAG

renamed environmentAlpha to environmentIntensity

上级 6a0c4bd0
......@@ -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' );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册