Skip to content
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

Lottie matte rendering artifacts with lines. #3089

Open
andrewvarga opened this issue May 14, 2024 · 0 comments
Open

Lottie matte rendering artifacts with lines. #3089

andrewvarga opened this issue May 14, 2024 · 0 comments

Comments

@andrewvarga
Copy link

if I have a rectangle and apply another one to it as a matter layer it works.
However if I have a line (2 point bezier path) with a large stroke, which also looks like a rectangle and apply a matte to that, I get some strange artifacts in the lottie web player, the bodymovin player or in lottiefiles Playground.

This is what it should look like (the bottom shape is a line, both are masked by a rectangle):
Screenshot 2024-05-14 at 21 04 45

This is what it actually looks like (ignore the transparent background, note the weird shape of the bottom shape):
Screenshot 2024-05-14 at 21 05 52

To me this looks like a bug in the Lottie player / renderer. Can someone confirm and advise about a fix or workaround?
Thank you!

Here is the lottie file in question:

matte_bugs.lottie.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant