-
Notifications
You must be signed in to change notification settings - Fork 949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blend issues with impeller #34
Comments
cc @bdero |
This looks like the alpha channel is either getting dropped or ignored somewhere along the line for these images. Trying to reproduce this. |
I believe the issue is the way I did the alpha compositing for advanced blends in the case where a foreground color is specified. In this case, the source color is being overridden to opaque black, so the fragment alpha output is always 1: https://github.com/flutter/engine/blob/main/impeller/entity/shaders/blending/advanced_blend.glsl#L43 I'm currently working out the correct behavior for this. |
Fix: flutter/engine#36338. BTW, that overhang shadow isn't missing in Impeller, right? I assume it fades in when starting to scroll down. |
Correct, the shadow is good w/ impeller, its just not visible in that screenshot. |
Fixed in |
Using the latest master, with code like:
We are seeing blending issues:
Without impeller:
The text was updated successfully, but these errors were encountered: