amethyst / amethyst/bracket-lib

Possible SRGB/gamma issue with wgpu?

未關閉
#331 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
1.7k
分支
126
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。