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

Possible SRGB/gamma issue with wgpu? #331

Open
carlfindahl opened this issue Jan 27, 2023 · 2 comments
Open

Possible SRGB/gamma issue with wgpu? #331

carlfindahl opened this issue Jan 27, 2023 · 2 comments

Comments

@carlfindahl
Copy link

When using wgpu as my rendering backend I get way better frame rates and input latency, however the filtering and the colors look off. When comparing to the native OpenGL renderer it seems like both filtering and (gamma) color processing might differ:

WGPU DEFAULT
image image
image image

It is more obvious with colors that are not fully saturated, but also really dark colors seems to have a weird gamma curve in wgpu, making everything a lot brighter. If possible, I think this should be looked into so we can have similar looking images using both backends.

System:
Win 10
RTX 3080
AMD Ryzen

@carlfindahl carlfindahl changed the title Possible SRGB issue with wgpu? Possible SRGB/gamma issue with wgpu? Jan 27, 2023
@svercl
Copy link

svercl commented Jan 31, 2023

This might just be an issue with picking the right surface format. The current format is whatever happens to be reported first, which may not be sRGB.

@carlfindahl
Copy link
Author

When I rolled back to the latest release from master the issue disappeared so must be something new since the previous release.

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

No branches or pull requests

2 participants