-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add ColorOverlayFilter #214
Conversation
The ColorOverlayFilter replaces all colors within a source graphic with a single color, respecting the alpha channel of the source graphic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! There are few other small things that would be useful if you could hit:
- Integrate this into tools/demo
- Generate a screenshot (see tools/screenshots)
- Add to the root README.md
- Add to the bundle README.md
Co-Authored-By: Matt Karl <matt@mattkarl.com>
Co-Authored-By: Matt Karl <matt@mattkarl.com>
Co-Authored-By: Matt Karl <matt@mattkarl.com>
Co-Authored-By: Matt Karl <matt@mattkarl.com>
@bigtimebuddy Is there a way for the demo to only apply the filter to the swimming critters? I added the reference to this filter, but it appears to be applying it to the entire scene, which results in an image with a single color. |
I think the property is fishOnly. Drop shadow and glow do this for an example. |
It should be all working now! BTWs, what's the best way to build the current working tree of |
Running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @mudcube.
The ColorOverlayFilter replaces all colors within a source graphic with a single color, respecting the alpha channel of the source graphic. See attached graphic for visual example: