title: three.js tiling of textures
body: <p>I have found this example with diffuse, specular and normal map: </p>
  
  <pre><code>var ambient = 0x111111, diffuse = 0xbbbbbb, specular = 0x060606, shininess = 35;
  
                  var shader = THREE.ShaderLib[ "normalmap" ];
                  var uniforms = THREE.UniformsUtils.clone( shader.uniforms );
  
                  uniforms[ "tNormal" ].value = THREE.ImageUtils.loadTexture( "textures/test_NRM.jpg" );
                  uniforms[ "uNormalScale" ].value.set( 2, 2 );
                  uniforms[ "tDiffuse" ].value = THREE.ImageUtils.loadTexture( "textures/test_COL.jpg" );
                  uniforms[ "tSpecular" ].value = THREE.ImageUtils.loadTexture( "textures/test_SPEC.jpg" );
  
                  uniforms[ "enableAO" ].value = false;
                  uniforms[ "enableDiffuse" ].value = true;
                  uniforms[ "enableSpecular" ].value = true;
  
                  uniforms[ "uDiffuseColor" ].value.setHex( diffuse );
                  uniforms[ "uSpecularColor" ].value.setHex( specular );
                  uniforms[ "uAmbientColor" ].value.setHex( ambient );
  
                  uniforms[ "uShininess" ].value = shininess;
  
                  uniforms[ "wrapRGB" ].value.set(1, 1,1 );
  
                  var parameters = { fragmentShader: shader.fragmentShader, vertexShader: shader.vertexShader, uniforms: uniforms, lights: true };
                  var material = new THREE.ShaderMaterial( parameters );
  
                  material.wrapAround = true;
  
                  loader = new THREE.JSONLoader( true );
                  document.body.appendChild( loader.statusDomElement );
  
                  loader.load( "geo/sphere.js", function( geometry ) { createScene( geometry, 100, material ) } );
  
                  renderer = new THREE.WebGLRenderer( { antialias: false, clearColor: 0x111111, clearAlpha: 1 } );
                  renderer.setSize( window.innerWidth, window.innerHeight );
                  container.appendChild( renderer.domElement );
  </code></pre>
  
  <p>Now I see my textures displayed on the sphere, but only one time. I need more tiles of the texture displayed and I inserted:</p>
  
  <pre><code>tNormal.wrapS = THREE.RepeatWrapping;
  tNormal.wrapT = THREE.RepeatWrapping;
  tNormal.repeat.x=100;
  tNormal.repeat.y=100;
  </code></pre>
  
  <p>But it doesn`t work, does anyone have a clue?</p>
  
  <p>Best Regards</p>