Replies: 1 comment 1 reply
-
|
Yes, you can use any of the methods found in the Texture class. If you're not changing the format of the image, then https://gltf-transform.dev/modules/extensions/classes/KHRTextureBasisu For example: import { KHRTextureBasisu } from '@gltf-transform/extensions';
io.registerExtensions([KHRTextureBasisu]);
document.createExtension(KHRTextureBasisu).setRequired(true); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to replace a texture by another one, for example replace an image texture by an uastc texture in all the model?
Should we use setImage / setExtension / setMimeType on the current one ?
Beta Was this translation helpful? Give feedback.
All reactions