Hi! Does anyone know how to make masks work in Lottie? Everything is previewing as expected in AE, but the masks disappear in Lottie. Is there a fix for this? I haven’t found a solution that works yet, without having to fix the code (which is not an option). Help would be greatly appreciated
In case anyone else is having this issue, I found a possible solution. I masked a pre-comp and it worked in Lottie preview. Without the pre-comp, it wasn’t recognizing the mask for some reason.
I never had such issue. I mask the object or an element or comp with separate shape layer and add Alpha Matte as normal or inverse depends upon situations. But Luma Matte never worked for me.
If you are using masks to crop elements they may not work. Masks don’t work generally when you use a vector layer with the turned on “collapse transformations”. It may also not show up when you export through bodymovin. Precomping or using alpha mattes is usually a way to go, or convert your illustrator file to shapes, then you shouldn’t have issues using masks.
@gbiloski Can you kindly explain more details. I am still having the issue. Everything which is inside the mask does not get exported when I choose json. #loosingmymind
Hi, I’m also experiencing the same problem, but for me, the mask is working it’s just that the feather option does not work on the mask property. when I export its just straight crop it without the feather.
I find feathering and shadow options don’t always (or maybe never?!) work with Lottie. I’ve been using pngs where needed to resolve this. Luckily my animation was simple enough that I could use pngs.
Here is full list which is supported by Lottie from After Effects.
Hi @gbiloski would it be possible if you could explain how you use PNG files in your Lottie animations as the feather and shadow for drop shadows? I am struggling to find a solid workflow for rendering drop shadows in Lottie. I know the effect and layer styles drop shadow options will not render in Lottie. So your technique sounds interesting, I would like to learn more.
Hi to everyone! I’m trying to export my animations that it is based on a multiple masks into a single layer. Once I try exporting this, the pluging just doesn’t process the animation and quits. I believe it is because these pile of mask might need to be as shapes, but I don’t know exactly how to make it in mass. Any idea? Thank you so much!