Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions A way to cast a shadow from a 2d object with light ?

  • A way to cast a shadow from a 2d object with light ?

    Posted by Eran Solomon on September 20, 2005 at 11:01 pm

    Hey everyone !
    I was wondering if theres a way to make a 2d object (defined as 3d for light perposes) cast a shadow , but make the shadow to look like its casted on the ground rather than behind the character..
    for example , taking an image of a penguin and compose it over a video of a desk, and I want the penguin to cast a shadow on the desk. Is there a way to make a Solid plane recieve a shadow but make the plane itself invisble or somthing ?

    Thanks in advance ! ,

    -Eran-

    Roland R. kahlenberg
    replied 19 years, 6 months ago
    5 Members · 5 Replies
  • 5 Replies
  • Dan Ebberts

    September 20, 2005 at 11:30 pm

    Yeah, it’s something like this: Orient a white solid to match the perspective of the desk, set its mode to Multiply, Accepts Shadows = On, Accepts Lights = off. I think. 🙂

    Dan

  • Hamish Boyd

    September 21, 2005 at 12:14 am

    Just to follow up on this, cause I’ve often had trouble with lights. I have comped a test scene like the one described and had some text (that is casting a shadow on the desk) move towards the camera and the light. But all of a sudden half way through the move the shadow cuts out. I have viewed the animation from all angles and the text is not going behind the light or cutting through the desk, it moves correctly through space, but it just cuts out. Any ideas?

    cheers

  • Chuckwagon524

    September 21, 2005 at 2:30 pm

    You might want to check out Trapcodes Lux. I have never used but the demos I have seen maybe what you’re looking for.

  • Roland R. kahlenberg

    September 21, 2005 at 6:57 pm

    What Lux does is to provide a visible light source for AE’s lights. Without Lux, all you get are the light’s intensities coming form an invisible source – Lux gives you that source.

    In this case, Lux won’t solve the problem.

    HTH
    Roland Kahlenberg
    broadcastGEMs
    customizable animated backdrops with Adobe After Effects project files

  • Roland R. kahlenberg

    September 21, 2005 at 7:28 pm

    If your text layer is moving, it could very be that the light isn’t hitting it at an angle to allow for the shadow to appear on the desk. Essentially, there are three lyers to content with, the light, the object and the shadow. If they do not form a straight line then there may be occasions when the shadow will not appear.

    Perhaps Dan can come up with an Expression script to prevent such occurrences.

    HTH
    Roland Kahlenberg
    broadcastGEMs
    customizable animated backdrops with Adobe After Effects project files

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy