Norka Hi! I'm copying rd texture with RenderingDeviceVulkan::texture_copy and then saving it to png after RenderingDeviceVulkan::texture_get_data For some reason it doesn't have background, but when I save without copying it has 🙁
Megalomaniak As far as I'm aware yes the bg should be transparent if it's a single viewport that you copy and save. Might also depend on the world environment properties tho.
Norka Wait I was wrong)) It doesn't have background even if I don't copy I think I can figure this out, thank you Megalomaniak
Norka I figured that out)) from TextureStorage::texture_2d_layer_get code I saw that there is format conversion I tried changing destination image format to Image.FORMAT_RGB8 and that worked 🙂 Thank you anyway very much!!! cybereality
Megalomaniak That's certainly a way to go but even with the alpha channel intact I think depending on the world environment properties it should be possible to get the BG to show. But that's only relevant if you desire those world environment settings in the first place.