4/23/2024 0 Comments After effect drop shadowTL DR copy and paste the above expression on the drop shadow effect’s direction property. Put it all together and you get this rather ugly looking thing: radiansToDegrees(Math.atan2(toCompVec(), toCompVec())) This is expressed in radians, so to make it useful for the drop-shadow direction control we use radiansToDegrees to turn it into degrees. If the vector you give it is the unit vector along the x axis of the layer (i.e the vector ) the result can be fed into the atan2 function to return the rotation of the layer in relation to the world. How to Easily Create Long Drop Shadows in After Effects DuckTUT 1. The program will automatically create a shadow effect with the same outline as the primary object. So it translates an arbitrary layer vector into comp space. You can apply a drop shadow to any type of object in After Effects, whether it is text, an image, or an object. What toCompVec does is to give you the composition equivalent for a given vector on your layer. That’s where the slightly mystifying toCompVec expression comes in. So we have to find their orientation in comp-space. But for layers that have parents or that are auto-oriented this won’t work. Simple enough, it compensates for the layer’s rotation by substracting it from the desired value. Normally to keep the drop shadow of a rotating element correctly aligned I use this on the direction property: value. Instant crowd scene!īut I want them to have a drop shadow. I have some background elements that I want to wander around, and because I’m lazy I don’t want to hand animate them, so they just have a wiggle expression applied to their position channel and auto-orient switched on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |