Skip to main content
Known Participant
July 29, 2008
Question

Layers not casting shadows. How strange.

  • July 29, 2008
  • 6 replies
  • 28499 views
I've set up a comp with a light behind a large number of grey solids aranged in a grid. The light shines through the grid and onto a perpendicular solid ground-plane.

The thing is, the grid solids aren't casting any shadows. Now, they're in a precomp which is set as a 3D layer, but all the materials options are set correctly. All of the solids AND the precomp are set to cast shadows, and the ground-plane is set to accept shadows. The light casts shadows (and it works with other objects in the scene), but no joy on the solids grid.

Here's an image showing two views of the scene along with the corresponding overhead view to show the camera and light placement. The horizontal line in the overhead view is the solids grid. Also, Trapcode Lux is on to visualize the light cone, but it's not to blame, since there are still no shadows with it off and removed from the comp.

http://www.leonid-studios.com/Personal/ShadowTest.jpg

Let me know if you can figure this out.

Thanks!
    This topic has been closed for replies.

    6 replies

    New Participant
    August 11, 2016

    I was having the same problem. What fixed it for one of the layers was turning off the Collapse Transformations/Continual Rasterization button for one of the offending layers which was not receiving shadows.

    Participating Frequently
    August 11, 2016

    Yes. The Collapse Transformations button unlocks a lot of features. I just discovered that turning it off allowed me to see 3 dimensions of different layers in a nested composition. I hope that made sense.

    Roei Tzoref
    Brainiac
    August 11, 2016

    Cuppatae, Dean - I agree that collapse transformations and render order changes is complicated. maybe the most complicated thing to get wrapped around your head in all of After Effects (that's what I tell my students) and it may seem unpredictable. with a big nested setup of pre-comps with 3D, Cameras and lights and shadows Vector layers, Layer styles, Blend modes, Track Mattes and more - it really is. but you should read here under "render order and collapse transformations" and maybe watch a few tutorials about it:

    Precomposing, nesting, and pre-rendering After Effects compositions

    eventually the sunburst switch will be your friend! for example - as you may already know, if you add a layer style to a 3D layer, it breaks the interactivity in 3D space. you may want to use that to your advantage when layers respect the Z position of each other and you don't want them to (Tip: you don't have to actually use a specific layer style, it's enough to have the eyeball switch on the group called "Layer Styles" and remove it from the actual effect)

    Participating Frequently
    November 3, 2014

    I also had the same issue with a layer style.

    Adobe, it's very difficult to always remember to deal with the limitations of layer styles and 3D layers. Please fix this in a future version. Thanks.

    Adobe Expert
    November 3, 2014

    I was really tempted to say that dealing with limitations of your tools is the mark of a professional, but I'm going to try to resist.

    ColbyFulton
    Known Participant
    August 19, 2016

    I guess we all just wish the tools would work like they're supposed to without all these illogical glitches.

    Inspiring
    July 30, 2008
    Do you have any 2D layers between your 3D layers? Can you post an image of the timeline?
    New Participant
    August 10, 2012

    I realise this original post is 4 years old, I've only just come across it.

    I had exactly the same problem it was driving me mad, the problem was caused by a 3D Null object between two other 3D objects. By moving the Null to the top of the composition's layer stack weirdly meant the shadows were visible again.

    jca3d
    Inspiring
    October 25, 2015

    Likewise, I've run into this problem WELL after the original post. Thank you all for your input. I have no Layer Styles. I have no Nulls showing at the same time as 3D objects, nor between them.

    I have 3 layers of 3D text and only one casts shadows. Shadows are enabled on all of them though. I have a solid set to only receive shadows which is positioned behind all three 3D text layers so I know that's not the issue. All text layers are the same distance from the solid so I know that they don't intersect the solid and lose their shadows that way. I would greatly appreciate any other ideas y'all have. Thanks.

    Here is a still of my workspace:

    http://www.jca3d.com/wp-content/uploads/2015/10/PrtScrn_Scholar-SelectShadows.jpg

    Mylenium
    Brainiac
    July 30, 2008
    Draft 3D? Any effects that futz with Alpha channels? Insufficient shadow map size to accommodate the fine detail (in which case AE may not generate shadows at all)?

    Mylenium
    Known Participant
    July 29, 2008
    Nope. Just checked every layer. I'm afraid it won't be so easy.
    andi_urra
    Known Participant
    June 30, 2013

    I experienced the same problem. Indeed, I had layer styles. But they were deactivated. Only truly deleting them got rid of the problem.

    Mylenium
    Brainiac
    July 29, 2008
    Any layer styles involved in the scene? They affect 3D rendering in the strangest ways due to them being applied post all other stuff...

    Mylenium
    Participating Frequently
    March 27, 2018

    I found that a shape layer I had created and made a mask on, although visually didn't block the light and was 2D, was between the light and the text layer in the comp order. After putting it above the light, the shadows of the 3D text cast correctly.