I’ve got a couple of questions around basis texture loading,
First is about importing the basis loader in an ES6 / Webpack project. At a guess I need to import a couple of things as side effects like so;
import { Texture } from "@babylonjs/core/Materials/Textures/texture"
import "@babylonjs/core/Materials/Textures/Loaders/basisTextureLoader"
import "@babylonjs/core/Misc/basis"
I’m not convinced this is working though, as I can’t see my browser downloading the decoder in the network tab of devtools
My second question is whether basis textures are expected to work with PBRMaterials, fiddling with the basis PG example (https://playground.babylonjs.com/#4RN0VF#23) would appear that they are incompatible, so I was wondering whether this is a deliberate decision and if so why?
Thanks in advance!