You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
This is what it actually looks like (ignore the transparent background, note the weird shape of the bottom shape):
To me this looks like a bug in the Lottie player / renderer. Can someone confirm and advise about a fix or workaround?
Thank you!
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):
![330561767-28db67b1-02fd-4cd3-a4c1-fb2c8abb923c](https://private-user-images.githubusercontent.com/911440/330696305-3b958ea6-1ee6-41cf-83cf-4a57b37794be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNTMwNTUsIm5iZiI6MTcyNjE1Mjc1NSwicGF0aCI6Ii85MTE0NDAvMzMwNjk2MzA1LTNiOTU4ZWE2LTFlZTYtNDFjZi04M2NmLTRhNTdiMzc3OTRiZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMlQxNDUyMzVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yN2I3YjQzYTIzNGM3ODdiNzU1MGJkMjM5YzkzY2M3NTQxOGNlZjNlZjM3OTNkZGExOTU0MjQxODVmODY1MjAyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.CCkIeDhuDSbYUNRuEHCQ4CXLwS_FsN7lEjeajQljvfw)
This is what it actually looks like (ignore the transparent background, note the weird shape of the bottom shape):
![330562057-cf064c74-cd5b-4963-9221-ec2c99c82045](https://private-user-images.githubusercontent.com/911440/330696378-d6ee3c4d-b8a5-4d9c-8a36-ea4ed2de69ee.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNTMwNTUsIm5iZiI6MTcyNjE1Mjc1NSwicGF0aCI6Ii85MTE0NDAvMzMwNjk2Mzc4LWQ2ZWUzYzRkLWI4YTUtNGQ5Yy04YTM2LWVhNGVkMmRlNjllZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMlQxNDUyMzVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05NmJiOTIxOWFiYzc2OWFkNWIyMTRiNTVlOGY2MDNjZWM0YjA0ZTliNGYwZDUyMjVlM2RmZGRmNDUzNWEyY2IwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.NLQHTi4qZTt2ZOJOmUL6_e13OKxBZraHOWg4kMj463w)
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 ques
matte_bugs.lottie.json
tion:
The text was updated successfully, but these errors were encountered: