Looking to create a Lambert material using a texture with transparent black color, without using an alphaMap.
I have a sphere with a clouds texture that I want to appear transparent black. When I try using blending, it affects the shadows, and I want to maintain the behavior of a MeshPhong material, but with only a transparent black color.
var cloudsMaterial = new THREE.MeshLambertMaterial( {
color: 0xffffff,
map: THREE.ImageUtils.loadTexture( "img/planets/clouds.jpg" ),
specular : new THREE.Color("rgb(255,255,255)"),
shininess : 0.1,
depthTest : 0,
blending : 1,
transparent: true,
bumpScale : 1, //0.8
bumpMap : THREE.ImageUtils.loadTexture( "img/planets/bump.jpg" ),
} );
What is the best approach to setting up blending or other attributes in this case?