2
0
Fork 0

Remove workaround in GLTF exporter that double converts ra textures to rg

master
clayjohn 2024-01-30 23:22:20 +07:00
parent 17e7f85c06
commit 4f41b94943
1 changed files with 0 additions and 1 deletions

@ -3816,7 +3816,6 @@ Error GLTFDocument::_serialize_materials(Ref<GLTFState> p_state) {
}
img->decompress();
img->convert(Image::FORMAT_RGBA8);
img->convert_ra_rgba8_to_rg();
for (int32_t y = 0; y < img->get_height(); y++) {
for (int32_t x = 0; x < img->get_width(); x++) {
Color c = img->get_pixel(x, y);