title: How to write right repeat texture with three.js
body: <p>I search to repeat texture on the model. On all examples or questions I found only this like as:</p>
  
  <pre><code>var lavaTexture = THREE.ImageUtils.loadTexture( 'images/lava.jpg' );
  lavaTexture.wrapS = lavaTexture.wrapT = THREE.RepeatWrapping;
  lavaTexture.repeat.set( 3, 3 );
  var lavaMaterial = new THREE.MeshBasicMaterial( { map: lavaTexture } );
  </code></pre>
  
  <p>I understand this, but when the material is written like this:</p>
  
  <pre><code>Wood: new THREE.MeshPhongMaterial( {
     color: 0xffffff,
     specular:0xffffff,
     shininess: 10,
     map: new THREE.ImageUtils.loadTexture ( "models/macabann/chataigner.jpg"),
  // not sure as right
     WrapS : THREE.RepeatWrapping,
     WrapT : THREE.RepeatWrapping,
     maprepeat : [2,2],
  
     envMap: textureCube,
     combine: THREE.MixOperation,
     reflectivity: 0.05
  } )
  </code></pre>
  
  <p>I search how to write exactly this in this format if is possible.
  Thanks for any answers.</p>