Skip to content
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

useGLTF with KTX2Loader #354

Open
KallkaGo opened this issue Apr 17, 2024 · 2 comments
Open

useGLTF with KTX2Loader #354

KallkaGo opened this issue Apr 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@KallkaGo
Copy link

KallkaGo commented Apr 17, 2024

i use gltfpack to compression model and Texture ,so i use useGLTF to load it
this is my code :
image
but i got an error
image
Interestingly using the KTX2Loader from three/example it works fine.
Is my usage wrong? Or is there something wrong with the KTX2Loader of three-stdlib?

version:
@react-three/drei: "9.105.3",
@react-three/fiber: "^8.16.2",
three: "^0.161.0",
three-stdlib: "2.29.6",

@KallkaGo KallkaGo added the question Further information is requested label Apr 17, 2024
@CodyJasonBennett CodyJasonBennett added bug Something isn't working and removed question Further information is requested labels Apr 17, 2024
@CodyJasonBennett
Copy link
Member

This looks like a bug, nothing wrong on your part. I'll take a closer look.

@jereloh
Copy link

jereloh commented Apr 18, 2024

i use gltfpack to compression model and Texture ,so i use useGLTF to load it this is my code : image but i got an error image Interestingly using the KTX2Loader from three/example it works fine. Is my usage wrong? Or is there something wrong with the KTX2Loader of three-stdlib?

version: @react-three/drei: "9.105.3", @react-three/fiber: "^8.16.2", three: "^0.161.0", three-stdlib: "2.29.6",

Having same issue using:

"@react-three/drei": "^9.105.4",
"@react-three/fiber": "^8.16.2",
"three": "^0.163.0",
"three-stdlib": "^2.29.6",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants