godotengine / godotengine/godot

Texture colors are not accurate

Open
#103,458 10 comments 1 reaction 0 assignees View on GitHub
needs testing topic:rendering
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

4.4RC2

### System information

Godot v4.4.rc2 - Windows 11 (build 22631) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 32.0.15.6119) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 threads)

### Issue description

I was observing a slight different in color when applying a texture that uses the color ba6653 as opposed to when setting the albedo color to ba6653.

It turns out that when checking the color in Godot's the thumbnail, the color is bd6c5a:
![Image](https://github.com/user-attachments/assets/727ceaf0-ac09-4ec0-8fcd-cf2db7dfd822)

I double checked that the color was exported correctly by Substance Designer, by checking the color on the Windows 11's thumbnail:

![Image](https://github.com/user-attachments/assets/c839c207-c3d9-44d6-8d34-d292868bdef4)

### Steps to reproduce

1) Chose a color
2) make a texture filled with that color outside Godot (e.g. in Inkscape, GIMP, etc),
3) import it
4) check the thumbnail color in Godot with the color picker (e.g. from Godot, or external tool)

![Image](https://github.com/user-attachments/assets/655d018e-ab95-4d2a-bbff-1f185fff12ab)

### Minimal reproduction project (MRP)

See attachment.
[albedo_texture_test.zip](https://github.com/user-attachments/files/19043326/albedo_texture_test.zip)

Contributor guide

Open the contributing guide

Research direction

Start with the attached albedo_texture_test.zip and reproduce the mismatch using the listed Godot 4.4 RC2 Windows/Vulkan setup. Trace the texture import and thumbnail color-picker path; done means a solid-color imported texture reports and displays the source color consistently with the matching albedo color.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.