obsproject / obs-browser

CEF-based OBS Studio browser plugin
GNU General Public License v2.0
776 stars 220 forks source link

Remap semi-transparent colors for linear blend #300

Closed jpark37 closed 3 years ago

jpark37 commented 3 years ago

Description

Makes alpha behavior consistent with other OBS plugins.

Requires obsproject/obs-studio#4935.

Helps with #299, but blends are just different now that we do them in linear space.

Motivation and Context

Need browser source alpha to behave like the rest of OBS.

How Has This Been Tested?

Windows and Mac are the expected color.

Types of changes

Checklist:

jpark37 commented 3 years ago

Ready for review now that obsproject/obs-studio#4935 has been merged.