-
How to link a shape’s drop shadow direction (Angle) to a nul (Light Source)
How do I work out the angle value of a shape’s drop shadow angle as it corresponds to a light source controller null? I plan on using this to control the angle of mulitple instances of the drop shadow effect on lots of different shapes.
I would normally just create an angle control on an adjustment layer and link them all to that but I need the ‘light souce’ to move around and all the drop shadow’s point away from it.
I understand there will be some maths involved and I’ll have to clamp it somehow to get a value under 360* but if someone could give me a starting point that would be great!
Here’s a screenshot of what I am starting with.
