I am trying to use a ktx2 texture without using web workers (I need to run it on a scope where is not possible to use them). For doing it I am setting:
BABYLON.KhronosTextureContainer2.DefaultNumWorkers = 0;
But then I am getting an error (on version 4.2.0) or a warning (version 5.0.0-alpha.42) saying “KTX2DECODER is not defined”
I created a simple playground to show the issue Babylon.js Playground
I am missing something? or is there something else I need to configure in order to use the ktx2 without workers?