godotengine / godotengine/godot
Texture colors are not accurate
- 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:

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

### 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)

### Minimal reproduction project (MRP)
See attachment.
[albedo_texture_test.zip](https://github.com/user-attachments/files/19043326/albedo_texture_test.zip)
Contributor 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