Textures not fully loading until page it refreshed

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

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

Best regards,

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

Thank you @Mugen87, this worked.

1 Like