title: .mtl file not rendering properly
body: <p>I have .obj file and .mtl file and I'm trying to render those file using THREE.JS </p>
  
  <p>But obj was loaded but colors and other textures from .mlt files are not loaded.</p>
  
  <p>So does anyone know what I'm doing wrong here?</p>
  
  <p>Is there a chance that my material (.mtl) file is broken?</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>var mtlLoader = new THREE.MTLLoader();
        mtlLoader.setPath('files/');
        mtlLoader.load('interior.mtl', function(materials) {
          materials.preload();
          var objLoader = new THREE.OBJLoader();
          objLoader.setMaterials(materials);
          objLoader.setPath('files/');
          objLoader.load('interior.obj', function(object) {
            object.position.y = -95;
            // object.castShadow = true;
            // object.receiveShadow = true;
            object.traverse( function( node ) { if ( node instanceof THREE.Mesh ) { node.castShadow = true; } } );
            scene.add(object);
          }, onProgress, onError);
        });
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/HiahH.png" rel="nofollow noreferrer">OUTPUT --> click here for my output of 3d-obj</a></p>