# Textures not fully loading until page it refreshed

**URL:** <https://discourse.threejs.org/t/textures-not-fully-loading-until-page-it-refreshed/5180>\
**Category:** Questions\
**Tags:** obj-loader, mtl-loader\
**Created:** [November 29, 2018, 2:43pm UTC](https://discourse.threejs.org/t/textures-not-fully-loading-until-page-it-refreshed/5180 "2018-11-29T14:43:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.pryor](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@alex.pryor](https://discourse.threejs.org/u/alex.pryor)\
**Post date:** [November 29, 2018, 2:43pm UTC](https://discourse.threejs.org/t/textures-not-fully-loading-until-page-it-refreshed/5180/1 "2018-11-29T14:43:12Z")

</div>

Hi, I have an app built for loading OBJ objects in layers, a few of them with MTL textures. On my local server the textures load well, but when I upload the app to Amazon S3 I need to refresh the browser to get all of the textures to load in Chrome. In Mozilla, only one texture will load. The live example is here:

[https://s3.ca-central-1.amazonaws.com/vr-vision/3DforWeb/index.html](https://s3.ca-central-1.amazonaws.com/vr-vision/3DforWeb/index.html)

Any advice on getting all of the textures to load during the preloader?

Best regards,

---

<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:** [November 29, 2018, 2:46pm UTC](https://discourse.threejs.org/t/textures-not-fully-loading-until-page-it-refreshed/5180/2 "2018-11-29T14:46:12Z")

</div>

Without analyzing your code, it’s best when you switch from `OBJ` to `glTF`. I think this step will automatically solve your problem. Any you use the better 3D format. Read the following guide for more information about `glTF`.

[https://threejs.org/docs/index.html#manual/en/introduction/Loading-3D-models](https://threejs.org/docs/index.html#manual/en/introduction/Loading-3D-models)

---

<div class="post-metadata">

**Author:** ![alex.pryor](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@alex.pryor](https://discourse.threejs.org/u/alex.pryor)\
**Post date:** [December 5, 2018, 9:03pm UTC](https://discourse.threejs.org/t/textures-not-fully-loading-until-page-it-refreshed/5180/3 "2018-12-05T21:03:17Z")

</div>

Thank you @Mugen87, this worked.
