Hi there,
we are developing an app with multi language support. So we are swapping some textures depending on the selected language. We are generating the textures on the fly by writing text to canvas elements, and then we generate the image textures. Works perfectly. But now we have a text which should have a transparent background. Generating the image works as expected, but when we generate a texture from the image, the background is black when we put it in an element. So I investigated the textures with transparency exported by shapespark and saw, that those textures seem to work with cutouts. So using simply createTextureFromHtmlImage
won’t work here I guess.
Is there any way to generate textures from PNGs with alpha on the fly?