Q: How to assign material for an OBJ in three.js? I've tried to assign a mtl to my obj model and it doesn't work.
var mtlLoader = new THREE.MTLLoader();
mtlLoader.load("img/website.mtl", function(materials){

    materials.preload();
    var objLoader = new THREE.OBJLoader();
    objLoader.setMaterials(materials);

    objLoader.load("img/website.obj", function(mesh){
        mesh.scale.set(0.6,0.6,0.6);
        mesh.rotation.y = 4;
        scene.add(mesh);
    });
});

I exported the obj and the mtl files from Cinema 4D. Why doesn't it work?
