+1 vote

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:

Godot (left) reproducing colors incorrectly

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?

Thanks!

in Engine by (13 points)

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

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.

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.

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.

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.

1 Answer

0 votes

Hey, it seems to be the same as this:
https://godotengine.org/qa/40747/png-bad-color-reproduction-godot-3-1

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

by (22 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.