title: objloader not loading material
body: <p>I'm working with Three.js. I have loaded a obj object into my scene. The object loads but the MTLLoader is not providing the materials. Is my object broken? Is it the MTL Files?</p>
  
  <p>This code adds my spaceship OBJ</p>
  
  <pre><code>const name = "shipA_OBJ";
  
  loadMesh('shipA_OBJ', function(obj){
  obj.position.x = 0;
  obj.position.y = 0;
  obj.position.z = 450;
  obj.rotation.x += 1;
  //obj.rotation.y -= 1;
  obj.scale.x = .1;
  obj.scale.y = .1
  obj.scale.z = .1;
  addMesh(obj);
  </code></pre>
  
  <p>});</p>
  
  <pre><code>function addMesh(mesh){
  scene.add(mesh);
  console.log(mesh.getWorldPosition());
  </code></pre>
  
  <p>}</p>
  
  <pre><code>function loadMesh(name, callback){
  var objLoader = new THREE.OBJLoader();
  var matLoader = new THREE.MTLLoader();
  matLoader.load('models/shipA_OBJ.mtl', function(materials){
     materials.preload();
      objLoader.setMaterials(materials);
      objLoader.load('models/shipA_OBJ.obj', function(obj){
          callback(obj);
      });
  });
  </code></pre>
  
  <p>}</p>
  
  <p>This is my Mtl file</p>
  
  <h1>3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware</h1>
  
  <h1>File Created: 04.05.2010 13:43:14</h1>
  
  <p>newmtl shipA_mat
      Ns 10.0000
      Ni 1.5000
      d 1.0000
      Tr 0.0000
      Tf 1.0000 1.0000 1.0000 
      illum 2
      Ka 0.0000 0.0000 0.0000
      Kd 0.5880 0.5880 0.5880
      Ks 0.0000 0.0000 0.0000
      Ke 0.0000 0.0000 0.0000</p>
  
  <pre><code>map_Ka s_1024_C.tga
  map_Kd s_1024_C.tga
  map_Ke s_1024_I.tga
  map_bump s_1024_N.tga
  </code></pre>
  
  <p>I've placed all the tga, mtl and obj file in the same directory. when I comment out the MTLLoader my spaceship appears grey but with the MTLLoader my spacesip is all black. I have AmbientLight so I'm sure that lighting is not the issue.</p>
  
  <p>This is the link to where I download my obj spaceship : <a href="https://www.turbosquid.com/FullPreview/Index.cfm/ID/531813" rel="nofollow noreferrer">https://www.turbosquid.com/FullPreview/Index.cfm/ID/531813</a></p>