mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-02-01 10:02:11 -05:00
Pipewire desktop portal capture assumes premultiplied alpha, so make sure to use the right blend equation to make translucent pixels work correctly. This is still broken for emissive pixels (alpha < color) since OBS seems to unpremultiply at some point during blending, but it works properly for translucent pixels (emissive pixel support requires an end-to-end premultiplied pipeline).