# OBJ+MTL Texure loads but only on some devices

**URL:** <https://discourse.threejs.org/t/obj-mtl-texure-loads-but-only-on-some-devices/18098>\
**Category:** Questions\
**Tags:** obj-loader, devices, mtl-loader, textures\
**Created:** [August 24, 2020, 9:31am UTC](https://discourse.threejs.org/t/obj-mtl-texure-loads-but-only-on-some-devices/18098 "2020-08-24T09:31:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrzemekP](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@PrzemekP](https://discourse.threejs.org/u/PrzemekP)\
**Post date:** [August 24, 2020, 9:31am UTC](https://discourse.threejs.org/t/obj-mtl-texure-loads-but-only-on-some-devices/18098/1 "2020-08-24T09:31:02Z")

</div>

Hello to all.  
I’ve manged succesfully load obj+mtl files onto html -\> [Showcase](http://pix4d.pl/przemek/three/) but hit an unusuall issue.  
Textures renders OK on iOS device (Macbook) on any browser (Chrome, Firefox, Safari), but the object stays black on Ubuntu 20.04, Ubuntu 18.04, Windows 10, Windows 7 on any available browser.  
It renders OK on Huawei P30 Pro as well as on Huawei P9 Lite and Samsung Galaxy S10+ but it won’t render on Xiaomi Redmi 7 and any iPhone (5, 7 and X)

No Errors or Warning in DevConsole.  
Have no idea what could be the case. Any thoughts ?

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [August 24, 2020, 9:51am UTC](https://discourse.threejs.org/t/obj-mtl-texure-loads-but-only-on-some-devices/18098/2 "2020-08-24T09:51:01Z")

</div>

No, not really. Do you see the same issue with the official OBJ/MTL example?

[https://threejs.org/examples/webgl\_loader\_obj\_mtl](https://threejs.org/examples/webgl_loader_obj_mtl)

BTW: Consider to convert the OBJ/MTL file to glTF. This should noticeably decrease the file size of your asset.

---

<div class="post-metadata">

**Author:** ![PrzemekP](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@PrzemekP](https://discourse.threejs.org/u/PrzemekP)\
**Post date:** [August 24, 2020, 9:58am UTC](https://discourse.threejs.org/t/obj-mtl-texure-loads-but-only-on-some-devices/18098/3 "2020-08-24T09:58:20Z")

</div>

Have no issue with official OBJ/MTL example on any PC (Ubuntu or Windows) but it stays black on Huawei P30 Pro (this one I have on me - I will test others later) - which works well with my showcase.  
As for the gLTF I’ve tried and the files was much larger than obj+mtl  
Even tried with [https://blackthread.io/gltf-converter/](https://blackthread.io/gltf-converter/) and its also bigger.

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [August 24, 2020, 10:26am UTC](https://discourse.threejs.org/t/obj-mtl-texure-loads-but-only-on-some-devices/18098/4 "2020-08-24T10:26:04Z")

</div>

I’ve imported the OBJ/MTL asset into Blender and exported a DRACO compressed glb file with 9 MB file size (with texture!). Sorry, I can’t upload it to the forum.

---

<div class="post-metadata">

**Author:** ![PrzemekP](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@PrzemekP](https://discourse.threejs.org/u/PrzemekP)\
**Post date:** [August 24, 2020, 12:44pm UTC](https://discourse.threejs.org/t/obj-mtl-texure-loads-but-only-on-some-devices/18098/5 "2020-08-24T12:44:48Z")

</div>

OK - fair point. But it is not my choice - client has 3d models in obj/mtl files and issue is with them.  
I haven’t found the key why some devices refuse to render textures.  
Is my showcase working for you?

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [August 24, 2020, 1:21pm UTC](https://discourse.threejs.org/t/obj-mtl-texure-loads-but-only-on-some-devices/18098/6 "2020-08-24T13:21:32Z")

</div>

Yes, I have tested it on an iMac (with Chrome, Firefox and Safari). The showcase works fine.

BTW: You can remove the usage of `DDSLoader` from your showcase since your asset does not use S3TC textures.
