three-stdlib
three-stdlib copied to clipboard
useGLTF with KTX2Loader
i use gltfpack to compression model and Texture ,so i use useGLTF to load it
this is my code :
but i got an error
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",
This looks like a bug, nothing wrong on your part. I'll take a closer look.
i use gltfpack to compression model and Texture ,so i use
useGLTFto load it this is my code :but i got an error
Interestingly using the KTX2Loader from
three/exampleit 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",
Fixed with #374.
but i got an error
Interestingly using the KTX2Loader from