From 687d3d62f4f12c6263358addbdca4f9fb0bafbdf Mon Sep 17 00:00:00 2001 From: SUNAG Date: Wed, 23 Dec 2015 02:49:41 -0200 Subject: [PATCH] renamed environmentAlpha to environmentIntensity --- examples/webgl_materials_nodes.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/webgl_materials_nodes.html b/examples/webgl_materials_nodes.html index 5651692831..26686c9980 100644 --- a/examples/webgl_materials_nodes.html +++ b/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' ); -- GitLab