hey, I recently worked a lot on ktx2 integration on r3f but since I am acutally not a developer I got stuck at the point of implementing my compressed glb as a .ktx2 into my website. My developer doesnt know how to do it so maybe someone here can help me 🙂 https://github.com/pmndrs/drei/discussions/1335#discussioncomment-6557111 I had found this article but since I cant code myself I wont be able to do it. let me know if anyone has time and can quickly help me, I can also pay for it a bit if its hard to make
#Ktx2 integration in r3f
6 messages · Page 1 of 1 (latest)
You are trying to load a GLB as a ktx2? that doesn't make sense, one is a mesh & texture data object and one is just a texture
Do you mean you made your models with ktx2 textures but aren't sure how to load them?
docs showing how to use ktx loader with gltf. If your textures are done correctly this looks like it should just work:
https://drei.docs.pmnd.rs/loaders/gltf-use-gltf#extendloader
yes, sorry for the confusion. I converted the textures to ktx2 and merged it back into one glb
thank you so much! I will try to use this