Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KTX texture is imported darker as it is - sRGB to linear #99589

Open
leanmendoza opened this issue Nov 23, 2024 · 0 comments
Open

KTX texture is imported darker as it is - sRGB to linear #99589

leanmendoza opened this issue Nov 23, 2024 · 0 comments

Comments

@leanmendoza
Copy link

leanmendoza commented Nov 23, 2024

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.

Original texture
image

Darker texture
image

After some research, I found that commenting the srgb-to-linear convertion, it works fine:
image

Steps to reproduce

  1. Open a empty project and copy the texture to the project folder
  2. Double click the texture resource, you'll notice darker as it is

Minimal reproduction project (MRP)

Example texture
QEbvwX_0.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants