-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Textures not loading using GLTFLoader #393
Comments
hi @MasoudShah do you get some errors in the console log? It could be that the GLTFLoader is for a different three.js version but i'm not completely sure. |
It might be. At first I got an error for this line |
@kalwalt the threejs version was 126 but GltfLoader was 103. I updated GltfLoader to 126 but still no luck. The textures don't load and the model is all black. |
@MasoudShah i will look into this issue soon, I want to release a new version fixing some bugs and doing some upgrades. |
@MasoudShah I have just created a gltf example in PR #397 take a look at and let me know if this help you. |
Thanks for your reply but it seems it doesn't load some of the textures. What I see is the picture below. |
I think it's how to to setup your three.js code, it's not an issue with jsartoolkitNFT itself. what about this? |
It seems you're right. I will close this issue. Thanks a lot! |
Hi, I have used GLTFLoader to load gltf or glb models, but the textures don't load at all and I just watch the model, all black. I searched and noticed @kalwalt has already faced this issue in this link. If my problem is exactly the same problem in the link, I wish the threejs file be updated in this repository. I saw that the version of ARnft repository is newer than jsartoolkitNFT. I just switched the files, but nothing showed on the screen, not even the black model with no texture. Please let me know what the problem is.
The text was updated successfully, but these errors were encountered: