# Why I can't show the MTL

**URL:** <https://discourse.threejs.org/t/why-i-cant-show-the-mtl/18061>\
**Category:** Questions\
**Tags:** obj-loader, mtl-loader\
**Created:** [August 22, 2020, 12:45am UTC](https://discourse.threejs.org/t/why-i-cant-show-the-mtl/18061 "2020-08-22T00:45:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![buffalo](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@buffalo](https://discourse.threejs.org/u/buffalo)\
**Post date:** [August 22, 2020, 12:45am UTC](https://discourse.threejs.org/t/why-i-cant-show-the-mtl/18061/1 "2020-08-22T00:45:13Z")

</div>

hi. friends. why I can’t show the MTL.  
I have a question when I tried to load an object with MTL file.  
when I used the object file “female02.obj” in the examples given by [three.js.org](http://three.js.org). I can show the object in the page. but when I try to load an building with MTL file. the object shown but MTL I use Blendar to export the \*.obj file and \*.mtl.  
the file 3.zip includes the \*.obj, \*.mlt and jpg/png used.  
the file female2.zip is picked up from the examples  
and the code.txt is the code I used.  
How can I do, thanks.

```
the PNG file "Hotel_Hous_AO.png" is included in the 3.zip originally, but the 3.zip will be too large if the file included, so I deleted the file from 3.zip and post it.

```

[code.txt](https://discourse.threejs.org/uploads/short-url/f3vIL3AN4hPqBxJfiBshYnv80bP.txt) (1.1 KB) [female2.zip|attachment](upload://obfNkw3mMYcQZ64uJU32Q2uW[3.zip](https://discourse.threejs.org/uploads/short-url/d6EkFRBlQ80pVWrn6gadWT0pHUc.zip) (948.2 KB) koy.zip) (510.9 KB)

 ![Hotel_Hous_AO](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/3/3c682cb5289ba9c74326c8456398615802fa3716.jpeg)

---

<div class="post-metadata">

**Author:** ![buffalo](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@buffalo](https://discourse.threejs.org/u/buffalo)\
**Post date:** [August 22, 2020, 3:01am UTC](https://discourse.threejs.org/t/why-i-cant-show-the-mtl/18061/2 "2020-08-22T03:01:26Z")

</div>

I have change the file format to \*.glb and use GLTFLoader to load it. I did it and show the building on my page. but it will take a few seconds.  
but I still want to know why I can’t load the MTL in. and is there anything I can do to improve the speed of showing.  
thanks very much.

---

<div class="post-metadata">

**Author:** ![seanwasere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/seanwasere/32/20864_2.png) [@seanwasere](https://discourse.threejs.org/u/seanwasere)\
**Post date:** [August 22, 2020, 11:19am UTC](https://discourse.threejs.org/t/why-i-cant-show-the-mtl/18061/3 "2020-08-22T11:19:07Z")

</div>

I think your problem was caused by how you exported your obj or however it is represented in blender.  
When I look at it after added to the scene, it is LineSegments with LineBasicMaterial

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/1/1582eedb99131f2fe4a19666f18a027f20af8657.png)

---

<div class="post-metadata">

**Author:** ![buffalo](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@buffalo](https://discourse.threejs.org/u/buffalo)\
**Post date:** [August 24, 2020, 12:28am UTC](https://discourse.threejs.org/t/why-i-cant-show-the-mtl/18061/4 "2020-08-24T00:28:38Z")

</div>

thanks for your reply.

Do you mean I should export the model in Blendar by another format? I export the \*.obj and \*.mtl file by the menu command. and I don’t know how to export in some other format for the \*.obj file. .

and because this model wasn’t built by me, it was download from internet to try how to use MTLLoader and OBJLoader class. I don’t know how to rebuild the model, and because my focus is just the usage of the class in three.js, and I have show the model correctly by export the file in GLB format. so maybe I would rebuild the model itself.  
But when I try to build my model, what should I follow. thanks.

---

<div class="post-metadata">

**Author:** ![Ugochukwu\_Chime](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ugochukwu_chime/32/63682_2.png) [@Ugochukwu\_Chime](https://discourse.threejs.org/u/Ugochukwu_Chime)\
**Post date:** [October 6, 2025, 4:00pm UTC](https://discourse.threejs.org/t/why-i-cant-show-the-mtl/18061/5 "2025-10-06T16:00:21Z")

</div>

Didn’t see it here, and this was the solution for me. Sometimes Tr 1.000 in the mtl file tells three.js to display it with 100% transparency.

(aka invisible)

---

<div class="post-metadata">

**Author:** ![Chaser\_Code](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/chaser_code/32/20199_2.png) [@Chaser\_Code](https://discourse.threejs.org/u/Chaser_Code)\
**Post date:** [October 6, 2025, 4:07pm UTC](https://discourse.threejs.org/t/why-i-cant-show-the-mtl/18061/6 "2025-10-06T16:07:24Z")

</div>

Yes, i solved it many years ago
