mrdoob/three.js — Issue #706: Using material.uniforms.diffuse not longer changes object color
Author: Pitel
Created: 2011-10-30 10:18:10+00:00
State: open

```javascript
var geometry = new THREE.PlaneGeometry(2000, 2000, 200, 200);
var material = new THREE.ShaderMaterial(THREE.ShaderLib.lambert);
material.lights = true;
material.fog = true;
material.wireframe = true;
material.uniforms.phase = {type: "f", value: 0};
var terrain = new THREE.Mesh(geometry, material);
terrain.rotation.x = -Math.PI / 2;
material.vertexShader = vertexShader;
scene.add(terrain);
```

I've my custom `ShaderMaterial`, based on `lambert`, just with custom `vertexShader` doing some simple sin waves.

I also use DAT.GUI to change the material color (`terrain.material.uniforms.diffuse.value`).

It worked about a week ago but now, the color changing does not work.

Am I missing something new?

Using dev build, obviously.