Open nitrokevin opened 4 years ago
github won't let me paste the svg code but hopefully you get the idea
This has nothing to do with ScrollMagic unfortunately. This is a paint issue with the browser. Animating filters is a very expensive operation. I'd recommend you not do it.
I've created a svg shape with a masked image and am them using scrollmagic to add a parallax effect to just the image inside the shape, this works fine until I try to add a drop shadow to the svg shape using either css filters or svg filters.
Scroll magic code ` $('#masked-image').each(function () { var featuredtween = TweenMax.fromTo($(this), 1.2, { y: "0", scale:"1",
}); `