Files
wgpu/examples/src/srgb_blend
Gerard Fabregó 12ee31d6f9 Update examples readme files (#4774)
* Fix indentation in main examples readme file

* Update examples readme files

* Update hello_compute example readme and fix example not running with new command

* Fix srgb_blend example not working correctly and set readme accordingly
2023-11-25 22:59:40 +00:00
..
2023-11-25 22:59:40 +00:00
2023-11-25 22:59:40 +00:00

srgb_blend

This example shows blending in sRGB or linear space.

To Run

cargo run --bin wgpu-examples srgb_blend linear
cargo run --bin wgpu-examples srgb_blend

Screenshots

Blending in linear space:

sRGB blend example

Blending in sRGB space:

sRGB blend example