Hello,
Since I am missing support for populating texture arrays directly in BabylonJS ( Populate 2D texture array from image asset , Populate 2D texture array from image asset · Issue #13174 · BabylonJS/Babylon.js · GitHub ), I was wondering what is the situation in Babylon Lite and I see no equivalent to RawTextureArray2D.
Do you consider adding support for TextureArrays in BabylonJS? If yes, please consider supporting what the raw WebGL API supports:
- Loading from a URL, using ImageBitmap?
- Directly bind to a canvas (BabylonJS can already do it)
- Binding to a browser video
(BabylonSJ can already do all of them for regular Textures but not for TextureArray).
Currently, within my babylon classic application, I have to first download an image, draw it to an offscreen canvas and then grab the raw pixel data to pass it to the constructor of RawTextureArray2D, which is of course far from optimal,
Best regards and thank you,
Axel