# OffscreenCanvas textures are inverted

**URL:** <https://forum.babylonjs.com/t/offscreencanvas-textures-are-inverted/23798>\
**Category:** Bugs\
**Created:** [September 13, 2021, 3:37pm UTC](https://forum.babylonjs.com/t/offscreencanvas-textures-are-inverted/23798 "2021-09-13T15:37:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [September 14, 2021, 10:07am UTC](https://forum.babylonjs.com/t/offscreencanvas-textures-are-inverted/23798/6 "2021-09-14T10:07:23Z")

</div>

It seems it is a known caveat:

> [@Support for offscreen canvas](https://forum.babylonjs.com/t/support-for-offscreen-canvas/6099/32):
>
> Hi. I saw you added use of ImageBitmap instead of Image class in a worker, but there is an issue. According to the [WebGl spec](https://www.khronos.org/registry/webgl/specs/latest/1.0/#PIXEL_STORAGE_PARAMETERS) UNPACK\_FLIP\_Y\_WEBGL, UNPACK\_PREMULTIPLY\_ALPHA\_WEBGL , UNPACK\_COLORSPACE\_CONVERSION\_WEBGL … If the TexImageSource is an ImageBitmap, then these three parameters will be ignored. Instead the equivalent ImageBitmapOptions should be used to create an ImageBitmap with the desired format. invertY has default true in Texture constructor and it cause that some ImageBitmap a …

---

_[View the full topic](https://forum.babylonjs.com/t/offscreencanvas-textures-are-inverted/23798)._
