Three.js MeshPhongMaterial normalScale throwing error
<p>I've got a MeshPhongMaterial named 'material' like so: </p>

<pre><code>var material = new THREE.MeshPhongMaterial({
        map: THREE.ImageUtils.loadTexture('assets/images/8k-earth-diffuse.jpg'),
        normalMap: THREE.ImageUtils.loadTexture('assets/images/8k-earth-normal.jpg'),
        normalScale: (0.1, 0.1),
        specularMap: THREE.ImageUtils.loadTexture('assets/images/8k-earth-spec.png'),
        specular: new THREE.Color('grey')
    });
</code></pre>

<p>Everything works and is applied, including the map and normalMap. The problem is, when I try to add a <code>normalScale</code> property, it throws the following error:</p>

<pre><code>Uncaught TypeError: Failed to execute 'uniform2fv' on 'WebGLRenderingContext': No function was found that matched the signature provided.
</code></pre>

<p>I've used <code>normalScale</code> before and with the right syntax, and it's been working until recently. Without <code>normalScale</code> everything is fine. I am using revision 77. My question is why is this happening and what causes this error? How can I use <code>normalScale</code> without three.js throwing the error? I've used Chrome DevTools to get the line where the error is thrown in three.js source:</p>

<pre><code>if ( v.x === undefined ) gl.uniform2fv( this.addr, v );
</code></pre>