title: Three.js - Change Material on Runtime
body: <p>I have some .js files exported from Blender and load them with <code>THREE.JSONLoader();</code></p>
  
  <p>my callback:</p>
  
  <pre><code>var callback   = function( geometry ) { createMesh(geometry);
  </code></pre>
  
  <p>my loading:</p>
  
  <pre><code>loader.load( "Models/sculp.js", callback );
  </code></pre>
  
  <p>my create method:</p>
  
  <pre><code>function createMesh(geometry){
  
      inArr[id] = new THREE.Mesh( geometry, new THREE.MeshLambertMaterial( { color: 0xbbbbbb} ) );
      inArr[id].scale.set( 100, 100, 100 );
      scene.add( inArr[id] );
      id++;
  }
  </code></pre>
  
  <p>Now I want to change my material on runtime by using my keyboard (changes color and opacity).</p>
  
  <p>How can I do that?</p>