mrdoob/three.js — Issue #902: How can I dynamically change object's opacity?
Author: BorisDutkin
Created: 2011-12-14 09:23:22+00:00
State: open

This is my object:

var object = new THREE.Mesh( geometry, new THREE.MeshLambertMaterial( { map: THREE.ImageUtils.loadTexture( "image.png" ) } ) );
object.position.set(2, 3, 1.5);

now after I've created this object in init(); function, I can directly go to the object and change his position,like this:

object.position.x = 15;

Now the question is how can I change the opacity of the texture???

Thanks :-)