Files
wgpu/examples/src/srgb_blend

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