Closed Bug 1203744 Opened 4 years ago Closed 4 years ago
SCREEN blending with unpremultiplied source data is broken in Compositor
For unpremultiplied SCREEN we need a blending function that will give us: Color = src*srcAlpha + (1-src*srcAlpha)*dest The current code gets: Color = src*srcAlpha + (1-src)*dest There doesn't appear to be a way to do this using blend functions alone, so switching to use the shader for premultiplication.
Attachment #8659577 - Flags: review?(dvander)
Attachment #8659577 - Flags: review?(dvander) → review+
You need to log in before you can comment on or make changes to this bug.