« * K @jsulpis.dev

Julien Sulpis @jsulpis.dev

2025-10-20 11:40 UTC

I did some tests to fully understand the effect of premultiplied alpha combined with the gamma correction (linear RGB -> sRGB). It seems that the only right way to blend rgba colors is to mix them in linear RGB with premultiplied alpha, and then convert to sRGB. However ⬇️

1 picture (not shown on this phone)

1 likes, 0 reposts, 1 replies

3 Next post4 More from @jsulpis.devBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup