Hi, I made an animation that uses a mesh with ShadingColorMaterial. The light is a directional light. In the onEnterFrame I change the direction of the light like this :
_LightRot++; _Light.direction.x = Math.cos(_LightRot/20); _Light.direction.z = Math.sin(_LightRot / 20); _View.forceUpdate = true; _View.render(); But unfortunately this does not move the direction of the light. It seems that once the direction of the light is set there is no way of changing it. Any idea to get this woking ? Cheers Sylvain
