Casting shadow from a light using a layer
by Eric Goldstein
on
May 21, 2008 at 6:53:06 pm
Hi,
I want to shine an AE light through a window made on a 3D layer and cast its shadow on a (3D layer) floor. I tried this, but though you can see through the wall layer I made where the window is open, the light (I used a spot light) was blocked. Is there any way to do this in AE? I used to do it in Combustion.
Thanks for any help,
Eric
Eric Goldstein
Giraffe Film Company
Los Angeles
eric@giraffefilm.com
Re: Casting shadow from a light using a layer by Jeremy Allen on May 22, 2008 at 12:23:48 am
I'm not really sure what you mean by blocked, but I'll throw in what I know about it..
make sure your wall and floor layers are 3d
make sure your floor layer is set to "accepts lights" and "accepts shadows".
make sure your wall layer is set to "accepts lights" and "casts shadows". If you don't want to see the wall, and only want to see it's shadow, select "only".
make sure your light is set to "casts shadows".
You can make those adjustments under Material Options for each layer.
Re: Casting shadow from a light using a layer by Eric Goldstein on May 22, 2008 at 12:33:04 am
Hi Jeremy,
Thanks for getting back to me. I've done all the things you've mentioned. To try to clarify what I want to do:
I have a wall and a floor, both 3D layers. The light is set to cast shadows. The wall is set to cast shadows. The floor is set to accept shadows. The wall has a window cut in it. If you look at the window, you can see outside it.
I want to set a light outside the window and shine it through the window onto the floor so that the shape of the window is cast on the floor i.e. the floor would be dark, except for the rectangle of the window through which the light is passing.
I can do this in combustion, but when I try it in AE, the light is completely blocked by the wall even though there is an opening for the window.
Is there anyway to acomplish this in AE using a light and a shape on a layer to partially block light?
Thanks,
Eric
Eric Goldstein
Giraffe Film Company
Los Angeles
eric@giraffefilm.com
Re: Casting shadow from a light using a layer by Eric Goldstein on May 22, 2008 at 5:25:35 pm
Hi Frank,
I made my walls in Photoshop and did a lot of detailed work on pane dividers, transparency etc. The work isn't something I can duplicate entirely with masks.
Because I can see through the windows created in Photoshop, I had hoped I would be able to shine a light through them without haveing to use masks.
Thanks,
Eric
Eric Goldstein
Giraffe Film Company
Los Angeles
eric@giraffefilm.com
Re: Casting shadow from a light using a layer by Eric Goldstein on May 23, 2008 at 6:02:23 pm
Hi Frank and Brian,
Thanks for your responses. I am using a photoshop file, which I am bringing into AE as a composition containing the various walls of the room I'm building. Photoshop files do, of course, support alphas, but I'm using transparency built into the walls. Could this be the problem?
AE's lights are behaving as if there is no wall there.
Thanks Brian for the tutorial reference. I'll take a look.
Eric
Eric Goldstein
Giraffe Film Company
Los Angeles
eric@giraffefilm.com
Re: Casting shadow from a light using a layer by Eric Goldstein on May 23, 2008 at 6:09:52 pm
Frank and Brian,
Thanks again for your help. I found the problem:
My wall was Precomped. I checked collapse layers and thought that the material choices I made to the precomp would act globally on the comped layers. But, apparently it doesn't work that way.
Once I set the individual layers in the pre-comp to the correct settings, it worked perfectly.
Best,
Eric
Eric Goldstein
Giraffe Film Company
Los Angeles
eric@giraffefilm.com