Closed nmrugg closed 3 years ago
cc @Popov72 to have a look Did you start a thread on the forum as mentioned on the template?
Did you start a thread on the forum as mentioned on the template?
No, I didn't sorry. I miss read that. I can open a thread there.
https://forum.babylonjs.com/t/offscreencanvas-textures-are-inverted/23798
Closing for now and might reopen in a bit :-)
When running Babylon.js in a web worker using an OffscreenCanvas, it does not correctly invert images when loading textures.
Repro
Screenshots
Desktop
Additional context I was able to work around this issue by supplying
invertY
to LoadImage() and addingimageOrientation: invertY ? "flipY" : "none"
to createImageBitmap(). But, I'm not certain that is the best way to handle this issue.