useKTX2
does not allow to use external loader instances
#2418
Labels
enhancement
New feature or request
Problem description:
There is no way with
useKTX2()
to use an external loader instance likeuseGLTF
.Minimal example: https://codesandbox.io/p/sandbox/confident-hypatia-vp4s7q
Related issues
I recently needed to use
useGLTF()
anduseKTX2()
at the same time and I got this warning coming from three-stdlib/loaders/KTX2Loader.js :This warning means that some resources are downloaded twice and two web workers are spawned.
I'm currently submitting a PR to investigate in a possible solution.
The text was updated successfully, but these errors were encountered: