Skip to content

Commit cb0d450

Browse files
committed
Merge pull request #87775 from clayjohn/GLTF-export-ra-rg
Remove workaround in GLTF exporter that double converts ra textures to rg
2 parents 0994015 + 4f41b94 commit cb0d450

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/gltf/gltf_document.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3816,7 +3816,6 @@ Error GLTFDocument::_serialize_materials(Ref<GLTFState> p_state) {
38163816
}
38173817
img->decompress();
38183818
img->convert(Image::FORMAT_RGBA8);
3819-
img->convert_ra_rgba8_to_rg();
38203819
for (int32_t y = 0; y < img->get_height(); y++) {
38213820
for (int32_t x = 0; x < img->get_width(); x++) {
38223821
Color c = img->get_pixel(x, y);

0 commit comments

Comments
 (0)