I have loaded a .gltf file but found that it lost some texture.
Here is what it supposed to be:
But it looks like as below after loading:
We could find that it lost a large parts of texture especially on the wall.
The .gltf file is here for testing:
007.zip
By the way, for the convenience of your testing, the Box2825 is the one enclosed by turquoise rectangle:
When I deleted it, it looked like:
Maybe you can check why this texture was not loaded correctly at the beginning.
Three.js version
- Dev
- r104
- …
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
No, the glTF format disallows TGA entirely. It should be converted to PNG on JPEG at time of export, and if the exporter isn’t doing this but includes the TGA file instead, that’s a bug in the exporter. Sounds like the exporter intends to do that conversion, but isn’t for some reason. /cc @bghgary