-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Core Animation rendering engine doesn't support MatteType.invert
#1655
Comments
MatteType.invert
Thank you for the detailed reply! Which type of Matte should I choose when using animation in the Core Animation rendering engine? |
I think Core Animation may not support using entire layers as inverted masks, so it may not be possible to implement this using a Matte layer. If you need to use an inverted mask, you could potentially use a Mask instead. Since those masks include a bezier path, we can invert it without any issues (supported as-of #1617). |
Thanks again @calda for the support. You are awesome! |
@calda Just as a follow up I was able to link the mask of a layer to a rig I made with the 'Create Nulls From Path' script in After effects, set it to subtract and it worked! |
Cool! Thanks for sharing :) |
Which Version of Lottie are you using?
Lottie 3.4.0
Issue
Hello there! I was experimenting with 3.4.0 (Core Animation) on iOS and I noticed that animated track matte layers do not seem to animate when tested with 3.4.0
I am exporting with Bodymovin V 5.9.0
Animated mattes may not be supported yet, I am not sure if this is the case!
Thank you for all your efforts! Looking forward to using 3.4.0!
Animation JSON
https://lottiefiles.com/113328-square-matte-test
Here is a test that I used to troubleshoot.
The text was updated successfully, but these errors were encountered: