Is it possible to use a ktx2 image using a base64 string?

Hello everyone,

I’m wondering why I can’t seem to load a ktx2 image using a base64 data string.

https://playground.babylonjs.com/#T6JXVF

Is this unsupported?

You should pass the mime type as the 11th parameter of the Texture constructor:

https://playground.babylonjs.com/#T6JXVF#1

1 Like

Whew, would’ve never come across that myself.

Thanks for pointing it out!