amethyst / amethyst/bracket-lib

Possible SRGB/gamma issue with wgpu?

Aberta
#331 2 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
1.7k
Forks
126
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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](https://user-images.githubusercontent.com/22974533/215156171-91a084ee-4492-402f-9f48-bdb7cdeea972.png) | ![image](https://user-images.githubusercontent.com/22974533/215156195-4245eddd-c252-47b5-b552-5eae15a69ab7.png) |
| ![image](https://user-images.githubusercontent.com/22974533/215156524-80a7a071-b45e-43df-ba24-c0501fa9503c.png) | ![image](https://user-images.githubusercontent.com/22974533/215156456-4cfe0364-75d1-47ac-96e7-94c055cd3947.png) |

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.