Can anyone provide assistance on how to repeat a texture using THREE.TextureLoader()? Most solutions I have found are for using THREE.ImageUtils.loadTexture(). Below is a snippet of my code:
var loader = new THREE.TextureLoader();
var wall;
loader.load('../images/concreteWall.jpg', function (texture) {
var wallMaterial = new THREE.MeshBasicMaterial({
map: texture
});
wall = new THREE.Mesh(sideWallsGeometry, wallMaterial);
scene.add(wall);
});