-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colored (RGBA) EXR images generated from Godot have wrong order of channels. #55472
Comments
Investigating. Can confirm broken in itch io build Version 3.4.2-stable in https://darbyjohnston.github.io/DJV/ Is not broken in my version of Godot Engine [master] on 2021-01-12 |
@leonard7e @RodZill4 Can you test? |
I tried. I only found Mono builds for Linux. (I don't have experiences with Mono on Linux).
|
Mono Linux builds have been crashing for me for several months now. |
Fixed by: #56715 |
@leonard7e If you can you provide more details on this. I have no idea how to fix that indent, but the color channels was obvious :D |
@fire |
just tested on Godot_v3.4.2-stable still same problem, EXR generated by Godot has wrong channel order when I open it in Blender or GIMP (on screenshot original exr saved and opened in godot (bottom image in Godot(top left), GIMP(bot left), blender(right)) This test Godot project with exr included - test_exr_save.zip exr generated by Godot SaveExr has BGRA channel order This example file https://github.com/AcademySoftwareFoundation/openexr-images/blob/master/v2/LowResLeftView/composited.exr has ABGR channels order test_tinyexr from https://github.com/syoyo/tinyexr if use EXR generated by Godot, test_tinyexr save it with ABGR channels order (and it will be opened correctly in GIMP/Blender) |
I am not sure if it is in 3.4, but the tagging says 3.5. Good night. |
look like it fixed in 3.5 #56715 so nwm, sorry for up |
Godot version
3.4 stable
System information
Ubuntu 20.04
Issue description
EXR images generated from Godot changes channel order. Resulting in distorted colors, if the exr file is opened with other apps. Not limited to Blender and Gimp, but includes other apps like Da Vinci resolve.
Images created from Godot will show distorted colors in exrdisplay.
Steps to reproduce
You do need an external EXR viewer for comparison.
Best, use exrdisplay, which comes from makers of OpenEXR. It is shipped with the OpenEXR bundle.
https://www.openexr.com/using.html
The steps:
run the Godot project shipped here. It will load an RGB image. Hit the "Generate EXR" button. It will write the image to file "generated_color_testing.exr"
Now, open "generated_color_testing.exr" in exrdisplay (or DaVinciResolve, Blender, and so on). Compare "generated_color_testing.exr" with "color_testing_reference.exr" (which shows correct coloring in exrdisplay).
Minimal reproduction project
minimal_exr_godot.zip
The text was updated successfully, but these errors were encountered: