When running Babylon.js in a web worker using an OffscreenCanvas, it does not correctly invert images when loading textures.
You can see the problem in this playground: https://playground.babylonjs.com/#NMPB99#5
I found a way to work around this issue by supplying
invertY to LoadImage() and adding
imageOrientation: invertY ? "flipY" : "none" to createImageBitmap(). But, I’m not certain that is the best way to handle this.
I created a github issue already, but I should have posted about this here first.