lottie-flutter icon indicating copy to clipboard operation
lottie-flutter copied to clipboard

Is this normal behaviour? Gaussian Blur does not apply and moves layer position.

Open ayazemre opened this issue 4 years ago • 7 comments

I am trying to create a simple animation as you can see in the video below. I guess problem is gaussian blur. I used both legacy and new one. It is applied through alpha matte of underlying layer. What I am missing?

https://user-images.githubusercontent.com/68122318/105227553-8c1c5b00-5b72-11eb-9457-95660015d9a8.mp4

ayazemre avatar Jan 20 '21 19:01 ayazemre

Can you share the json file so I can have a look?

xvrh avatar Jan 20 '21 20:01 xvrh

Can you share the json file so I can have a look?

https://lottiefiles.com/45668-arrow-with-light-passing-through you can download from here.

I got my desired result as exporting shape layer as png and using png on alpha layer instead of shape layer. It works but exports 1 extra png file which I would not prefer.

ayazemre avatar Jan 21 '21 16:01 ayazemre

Can you share the json file so I can have a look?

Any updates?

ayazemre avatar Feb 02 '21 17:02 ayazemre

I had a look at this animation. There are 2 bugs actually:

  • The gaussian blur is not applied. Unfortunately this library (like Lottie-android and Lottie-iOS) doesn't support Layer effects.
  • The reflection is cropped. #128 will fix that.

xvrh avatar Feb 05 '21 23:02 xvrh

I had a look at this animation. There are 2 bugs actually:

  • The gaussian blur is not applied. Unfortunately this library (like Lottie-android and Lottie-iOS) doesn't support Layer effects.
  • The reflection is cropped. #128 will fix that.

Would it impact performance much if I had to do image workaround? Like exporting blurred asset and adding it to comp again.

ayazemre avatar Feb 07 '21 17:02 ayazemre

Like exporting blurred asset and adding it to comp again.

I think it's the best way to fix this animation. And it will have much better performance than the dynamic blur effect.

xvrh avatar Feb 07 '21 19:02 xvrh

Hey, I am facing a similar issue. I applied layer effects in my animation, but it is not showing in my json file. Can you please tell me how did you fix it?

sonukhare23 avatar May 09 '23 15:05 sonukhare23