Files
wgpu/examples/srgb-blend

cube

This example shows blending in sRGB or linear space.

To Run

cargo run --bin cube -- linear
cargo run --bin cube

Screenshots

Blending in linear space:

sRGB blend example

Blending in sRGB space:

sRGB blend example