C4D shadow catcher
me@grafxflow

Written by me@grafxflow

17 Mar, 2008
65
176,854

Shadow Catcher plugin in Cinema 4D - Part 1

UPDATE: Shadow catcher is now a built-in material and compositing feature in version Cinema 4D R18 onwards by default.

Tutorial Sections

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

 Step 1.

First quit C4D if it is running.

 Step 2.

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

 Step 3.

Now start C4D.

 Step 4.

Lets create a scene and place a box hovering over a plane.

c4d shadow catcher tutorial - Picture 1

c4d shadow catcher tutorial - Picture 2

 Step 5.

Then add a light with a target.

c4d shadow catcher tutorial - Picture 3

 Step 6.

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

c4d shadow catcher tutorial - Picture 4

 Step 7.

Lets do a quick render...

c4d shadow catcher tutorial - Picture 5

 Step 8.

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

c4d shadow catcher tutorial - Picture 6

c4d shadow catcher tutorial - Picture 7

 Step 9.

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.

c4d shadow catcher tutorial - Picture 8

 Step 10.

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.

c4d shadow catcher tutorial - Picture 9

 Step 11.

Now lets go to the Render/render settings.

c4d shadow catcher tutorial - Picture 10

 Step 12.

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'.

c4d shadow catcher tutorial - Picture 11

 Step 13.

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

c4d shadow catcher tutorial - Picture 12

 Step 14.

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.

c4d shadow catcher tutorial - Picture 13

We're done!

There is a Part 2 - use Advanced Compositing to seperate the objects and shadows alphas... view it here.

Share this article

Add comment...

65 Responses

Josh P
20 Nov 2013

Great plugin. Would be amazing if you could get AO to translate also.

Marko Radak
03 Dec 2013

The only downside is that my render is never fully transparent - it always have a bit of the opacity, about 4-5%

Anyway to fix this?

|

me@grafxflow
06 Dec 2013

Does the texture that contains the transparent shadow still have 'specular' selected?

Gokhan
23 Jan 2014

Hi,firstly thank you very much for great plugin but I have a problem about Physical Render in R15...
maybe my mistake but I can't correct result with Physical Render?
do you have an idea?
Thanks mate.

|

me@grafxflow
23 Jan 2014

Hi Gokhan,

I am not sure what the issue is? Can you go into more detail.

cheers
Paul

Teemu
19 Aug 2014

Is it possible to export with shadow catcher also normal alpha channel without shadows? Or do i need to render image with shadow catcher and without to get bot alpha channels?
Thanks for the answer!

|

me@grafxflow
19 Aug 2014

I am not sure if I totally understand you correctly, but maybe you could add a 'Compositing Tag' to each object then in the 'Object Buffer' tab give each its own individual number. Also make sure to do a multi-pass render then add each 'Object Buffer'. This should work for after effects.

|

Teemu
26 Aug 2014

Thanks grafxflow, for suggestion was right, thanks for the help!
And thanks for the plugin, it helped me to get one image done easier..

Daryl
21 Aug 2014

I just wanted to say thank you for such a great plugin and an even better user friendly instruction. I really like your style overall on everything you do. Great work. Thank You.

|

me@grafxflow
21 Aug 2014

Always glad to help.

Alpha_editor
22 Oct 2014

Nice Plug-in! I have an issue. I am in C4d R16. I can get the plugin to render fine in the "Standard" renderer. When I switch to the "Physical" Renderer the shadow is a "no show". I have tried all forms of compositing tags, etc. Nothing in the physical renderer is coming through. As soon as I switch to Standard render all works exactly as it should. I am compositing in AE CC 2014 via png sequences. Do you have a work around for this issue?

|

me@grafxflow
22 Oct 2014

Unfortunately it doesn't work with renders using physical/global illumination. I had somebody else with the same problem in a previous comment so to solve it...

The best way to go is to do add a ‘Compositing Tag’ to each object then in the ‘Object Buffer’ tab give each its own individual number. Also make sure to do a multi-pass render then add each ‘Object Buffer’. This should work for after effects.

Hope it helps or gives you are starting point.

mauro
09 Feb 2015

Hi, thank a lot...

I have a problem with Cineware layers.
I can't get it to work. Am I doing something wrong?

Cheerss

|

me@grafxflow
10 Feb 2015

Hi Mauro,

From what I understand Cineware relates to importing C4D files direct into After Effects. So I am unsure if Shadow Catcher will still be able to work this way.

Vincent
12 Oct 2015

This works really well but It isn't completely transparent when rendering to a png using the picture frame. How do I make it completely transparent?

|

me@grafxflow
12 Oct 2015

Does the shadow catcher texture have everything unchecked apart from the alpha?

Oleg
02 Dec 2015

I can't dowload plugin by link: https://grafxflow.co.uk/storage/app/media/blog-downloads/139/ShadowCatcherFinal.zip

|

me@grafxflow
02 Dec 2015

Hi Oleg,

I have tested the link and it's working fine. What browser are you using?

|

me@grafxflow
22 May 2026

Hi Oleg,

Very late update but I have now moved it to Github https://github.com/grafxflow/ShadowCatcher-c4d

Geoffrey
23 Dec 2015

I'm using R16. When I set everything as you laid out (Really great step-by-step) I can't get it to work. When I have the plane on with no material it worked and the shadows were there. When I applied the material according to your instructions, the plane is black and not accepting any shadows.

Thanks!

|

Geoffrey
23 Dec 2015

One more thing, I using cineware, but the shadows are not showing up in C4D.

|

me@grafxflow
26 Dec 2015

Hi Geoffrey,

Are you using something like Global Illumination in the advanced render settings?

Smart Search

me@grafxflow Author Profile picture

me@grafxflow

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!