Author Topic: Controllable Shadow Catcher Spread  (Read 890 times)

2025-05-22, 16:49:45

Philw

  • Active Users
  • **
  • Posts: 280
    • View Profile
Can anyone suggest a way to control a shadow a bit more? e.g. under a car, using the Shadow Catcher? I always get a shadow massive spread over the geometry I'm using as the catcher and get harsh edges if I reduce the geometry down to try and help contain it (as I can't feather the opacity edges in a shadow catcher material).

I need a transparent cutout image with the edges of the shadow fading out for using in comp afterwards. Any tips greatly appreciated! Thanks :-)

2025-05-22, 17:47:10
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13622
  • Marcin
    • View Profile
Not sure what exactly you are doing and whether this is possible, but perhaps you could try controlling it in post by using a simple operation like levels on the alpha channel.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2025-05-22, 18:02:12
Reply #2

Philw

  • Active Users
  • **
  • Posts: 280
    • View Profile
Thank you.

Any suggestions for easily getting a ground shadow pass separately from the beauty pass?


2025-05-22, 20:02:46
Reply #3

BigAl3D

  • Active Users
  • **
  • Posts: 963
    • View Profile
I do a lot of car renders. The shadow really depends on your lighting, as in real life. A sunny day creates crispy shadows. Cloudy day soft and diffuse. I do struggle sometimes to get what I think Corona will create, and then have to resort to the old workaround. Once you have got it so the shadows are the softness you need, I set up two Takes.

Take 1 with the car and Alpha. Important to get the glass to be somewhat transparent. The regular mask usually just gives you the shape of the car with opaque windows. Compositing Tag to hide the background from camera. Set up a render setting to save as Beauty or something. It's important to have your image that is used in the comp to provide reflections and a ground effect, but not show in the render.

Take 2 is HIDE car from the camera. Replace the ground with a large plane that has a bright white material. Important that your object touches, or in the case of car tires, I always have them slightly through the "floor." Another render setting and save as Shadows. This can be a simple JPG still or sequence.

Then in your video software or image editor, have the background image and then drop the shadow render in with the car on top. Change the Blending mode for the white shadow layer to Multiply. Boom. You can now reduce opacity or play with levels or curves just on the shadow layer. You can add a blur as well. Don't go crazy though with blurs as you will mess up the contact shadows. Ambient Occlusion as it's called in the standard C4D render engine.

One limitation to my workaround is if you some type of bumpy floor/ground or something that breaks the shadow up, this method will not provide that level of detail.

Hope this makes sense. It works for me. I set up a simple scene showing this.


https://www.dropbox.com/scl/fi/i37nen5bx6lkt8lzvd166/Shadow-Workaround.zip?rlkey=e4t6qvsfy4tj8bk67g8qmaw56&dl=0

2025-05-23, 07:57:15
Reply #4

Philw

  • Active Users
  • **
  • Posts: 280
    • View Profile
Thank you! It’s always great to see how others are getting this kind of work done. Thank you for taking the time to share the setup :-)