egui/crates/egui_glow/src/shader
Emil Ernerfeldt f46926aaf1
Improve texture filtering by doing it in gamma space (#7311)
* Closes https://github.com/emilk/egui/pull/5839

This makes some transparent images look a lot nicer when blended:


![image](https://github.com/user-attachments/assets/7f370aaf-886a-423c-8391-c378849b63ca)

Cursive text will also look nicer.

This unfortunately changes the contract of what
`register_native_texture` expects

---------

Co-authored-by: Adrian Blumer <blumer.adrian@gmail.com>
2025-07-07 17:46:27 +02:00
..
fragment.glsl Improve texture filtering by doing it in gamma space (#7311) 2025-07-07 17:46:27 +02:00
vertex.glsl Fix text distortion on mobile devices/browsers with `glow` backend (#6893) 2025-04-30 14:12:08 +02:00