3 ms·
> Just browsing the source I see Porter Duff blend modes. Really, in 2025? Have fun dealing with alpha compositing issues on this one. What should we be using
by bschwindHN 1y ago
> Just browsing the source I see Porter Duff blend modes. Really, in 2025? Have fun dealing with alpha compositing issues on this one.
What should we be using in 2025? I thought pre-multiplied alpha is essentially what you go for if you want a chance of alpha compositing ending up correct, but my knowledge is probably outdated.
- kookamamie 1y agoYou absolutely want premult alpha when dealing with multiple transparent layers in graphics.
- bschwindHN 1y agoRight - maybe I'm mistaken but doesn't Porter-Duff compositing encompass premultiplied alpha?
- kookamamie 1y agoYes, they introduced the concept in their paper. See this article for an in-depth guide to the topic: https://ciechanow.ski/alpha-compositing/ https://ciechanow.ski/alpha-compositing/
- bschwindHN 1y agoGreat article! I'm going to have to take my time on that one. But I guess I'm confused why @morio said "Just browsing the source I see Porter Duff blend modes. Really, in 2025?" because I'm not sure what they were expecting to be used in 2025.