Open
Description
Tested versions
- Reproducible in 4.3-stable
The related code was introduced in August 2023, so it might be happening in 4.2.x as well.
System information
Godot v4.3.stable (77dcf97) - Windows 10.0.22631 - Vulkan (Mobile)
Issue description
I noticed some glTF/glB were darker as I used to see them. Then I realized it was related to the Texture and the KTX
format.
I've isolated the texture, and the effect is evident when I just import the texture.
After some research, I found that commenting the srgb-to-linear
convertion, it works fine:
godot/modules/ktx/texture_loader_ktx.cpp
Line 500 in 0c45ace
Steps to reproduce
- Open a empty project and copy the texture to the project folder
- Double click the texture resource, you'll notice darker as it is
Minimal reproduction project (MRP)
Example texture
QEbvwX_0.zip
Activity