Written by me@grafxflow
UPDATE: Shadow catcher is now a built-in material and compositing feature in version Cinema 4D R18 onwards by default.
Part 1 - install the plugin and create a basic 3D scene (This page).
Part 2 - use Advanced Compositing to separate the object and shadow alphas... view it here.
What does the shadow catcher plugin allow?
Here is the scenario, we have a 3D character walking across the floor while casting a shadow. We want to composite this with an image in photoshop. Using shadow catcher we can render the character and shadow (with alpha) without the floor. Very useful.
Before starting... I had been searching for ages to try and find the C4D ShadowCatcher plugin. Luckily after pages and pages I finally managed to track it down back in 2008. So for this tutorial you can download it from this site (It's FREE). It has been tested in Cinema 4D R9 through to R17.
DOWNLOAD: ShadowCatcher for C4D repo
First quit C4D if it is running.
Then unzip the download and place it in the C4D plugins folder (Should be found in the same directory as the application)
MAC = Applications/MAXON/plugins/ShadowCatcher.cob
or
PC = C:/program files/MAXON/plugins/ShadowCatcher.cob
Now start C4D.
Lets create a scene and place a box hovering over a plane.

Then add a light with a target.

Choose the 'General' settings tab and change the following, 'Type' to 'Omni' and 'Shadow' to 'Shadow Maps (Soft)'.

Lets do a quick render...

Now apply a new material to the plain (this is what we want to act as our shadow catcher).


In the new material editor change the properties by unselecting everything except the alpha. NOTE: You may also want to check the transparency if you want to composite the shadow on a background image/video because by default it will be a pure black shadow.

In the alpha properties, click the down arrow next to texture and choose 'Shadow Catcher' (it should be near the bottom). You will also have to select 'Invert' option. If done correctly the material preview should be transparent.

Now lets go to the Render/render settings.

Now depending on which version of C4D the popup window will have a slightly different layout but the options are similar. So choose the 'Anti-Aliasing' option and change 'Anti-Aliasing' to 'Best'.

In the 'Save' tab, check the 'Alpha Channel' (The important bit!).

Choose one of the following:
1. If using in After Effects render as tiff frames and use the import tiff frames option in After Effects.
2. If using in Photoshop render the frame as a png format which will allow the transparency to appear straight away.

We're done!
There is a Part 2 - use Advanced Compositing to seperate the objects and shadows alphas... view it here.
Founder, Grafxflow
I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. I build lighting-fast dynamic content engines with Laravel, Winter CMS and Tailwind CSS. Thanks for stopping by!
Mauro
02 Jan 2016
Hey, this is what I get... its like the borders of the shadow are showing the plane
me@grafxflow
02 Jan 2016
Hi Mauro,
What version of C4D are you using?
Plus do you have a screen shot of your render settings?
Nick D
04 Mar 2016
I often need to render out simple animations as PNGs with transparent backgrounds so that I can create sprite sheets out of them. So far this plug-in is the ONLY thing that works for me, so thanks so much for making it available! The other methods of shadow catching from C4D always seem to require compositing OVER something else using multiply afterwards, but I need to deliver images with transparency included in them.
Unfortunately the render times are killing me -- it takes hours to render things that normally would take minutes. Do you have any tips for speeding up rendering with this plug-in? I'm thinking maybe if I do two passes - one for the object and one for the shadow, both with transparent backgrounds - I might be able to tweak the settings for the shadow pass to disable anything that's not needed. I will try a few things, but I'm wondering if you have any tips. Thanks again!
Al C
11 Jul 2016
Hey awesome plugin, but my output has the grey transparent background, how to get rid of it
me@grafxflow
11 Jul 2016
Do you have a screenshot? Or can you go in to more detail?
SEBASTIAN NOLTE
19 Oct 2016
OHHHH GOD - THANK YOU - WORKS GREAT AT C4D R17
me@grafxflow
19 Oct 2016
Perfect thanks for the update Sebastian
Jacob
22 Oct 2016
Thanks for an amazing plugin!
I'm having a bit of trouble. I have an infinite light which cast a Raytraced hard shadow. When I render it out the shadow is solid black, but I need it to be reddish color. Is it possible to adjust the shadow color or maybe add multiply or transparency to it? I'm using sketch and toon as well btw.
mahdi mehrabi
19 Jun 2017
Hi
I'm Gonna Use Live link In After Effects all the Harrow directly and no need to tiff render
I entered the After Effects environment.
But the material plane is seen and do not provide shade for Alpha
Please guide me
Thank you
me@grafxflow
19 Jun 2017
Hi Mahdi,
I am unsure if shadow catcher will allow this? due to it being processed within its own c4d render rather than after effects.
Maybe using c4d's built in compositing would be a better option.
Eriol
13 Aug 2017
you saved my day!!
Srinath
16 Aug 2017
Hi Sir nice Tutorial, I want to Shadow Fallows Through animated character..
Miles
31 Aug 2018
Hello I curious to know if this plug in works for cinema 4d lite?
me@grafxflow
31 Aug 2018
Unfortunately I have never used c4d light so can't give you a yes or no answer.
Yogesh verma
06 Dec 2018
Hi me@grafxflow,
read your all comments and appreciate that you are constantly in with ur viewers. i installed the shadow catcher and its working fine but i need this plugin to work like R18 and if it's not then kindly guide some other plugin for alpha reflection.