bracket-lib
bracket-lib copied to clipboard
Possible SRGB/gamma issue with wgpu?
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 |
---|---|
![]() |
![]() |
![]() |
![]() |
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
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.
When I rolled back to the latest release from master
the issue disappeared so must be something new since the previous release.