diff --git a/examples/webgl_materials_nodes.html b/examples/webgl_materials_nodes.html index 56516928316e24962110af3427270e45b3a045d3..26686c9980b633cbb8f55e56f2ccbc651ff6fb7d 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' );