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

egui: switch to gamma space blending, fix blend mode #217

Merged
merged 1 commit into from
Dec 8, 2024
Merged

Conversation

kvark
Copy link
Owner

@kvark kvark commented Dec 8, 2024

Fixes #215

Should match emilk/egui#2071 now. With the caveat that upstream is still using an srgb texture for some reason, while my PR is switching it to a regular unorm to avoid extra conversion.

Old:
gamma-before

New:
gamma-after3

@EriKWDev
Copy link
Contributor

EriKWDev commented Dec 8, 2024

Just tried it and it immediately looks more like I am used to, much less pixelated

@kvark kvark merged commit 5309b49 into main Dec 8, 2024
5 checks passed
@kvark kvark deleted the egui-blend branch December 8, 2024 21:28
@EriKWDev EriKWDev mentioned this pull request Dec 8, 2024
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

Successfully merging this pull request may close these issues.

egui more pixelated than normal?
2 participants