Bad color reproduction on Godot (3.1)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Pablo Neirotti

Hi there! Not sure if this issue has always been in Godot or it’s new.

I’m on the latest macOS, exporting my assets using Affinity Designer.

If I open my exported asset with a web browser, or preview it through Finder, colors look perfect.

When I import it in Godot, however, on a blank new project it looks like this:

On the Left you can see Godot. On the Right, Affinity Designer, although I could have opened the file with Preview and the colors would look the same.

I tried exporting with and without embedding a color profile, but makes no difference when importing it with Godot.

Any clue on how to get correct color reproduction? Or if this is not something Godot can do, a workaround I can do in my workflow?


How about when you run it? For me, the colors look kinda different in the editor but normal when running.

Dlean Jeans | 2018-12-31 20:33

I just compared the colors between the editor and when running it and are exactly the same. So they are consistent between them, just still overly saturated.

Pablo Neirotti | 2018-12-31 20:39

What color pallet are you using with Affinity Designer? Chances are you are using something intended for movie production.
Games use the standard RGB- 8 bit integer (nothing to do with pixel art) colors. Makes color math easy but produces wrong color blending.

To confirm if it is Affinity Designer take a look at the exported image, if it is also bright green then you will need to use one of the RGB presets. To correct Affinity Designer.

If the green of the exported image is the same as in Affinity Designer, then it could be because it is 16 bit floats. In that case just convert it to 8 bit integer.

MysteryGM | 2018-12-31 22:38

Hi there! Affinity is using sRGB as a profile, using RGB-8. I tried exporting with or without profile but the problem persists.

All other apps (Finder/Preview, Chrome, Safari) can open the PNG or JPG I export from Affinity with the correct colors. It’s only Godot failing to reproduce them.

Pablo Neirotti | 2018-12-31 22:40

Hi, sorry for the late reply.
Have you tried disabling Godot’s Post-Processing. I am mostly think HDR or maybe it needs Gama correction.
Also in Import try Hdt as srgb setting.

If none of this works switch to a different engine. At this point Godot only annoys me.

MysteryGM | 2019-01-01 18:50

:bust_in_silhouette: Reply From: s4m_ur4i

Hey, it seems to be the same as this:

solved by @Zylann
It’s the import settings on Godot, for sRGB