How to Create a Shadow Catcher with V-Ray for Cinema 4D

Overview

This article walks you through the steps of creating a shadow/matte catcher object in V-Ray 7 and V-Ray 5.

 

What is a shadow catcher?

A Shadow Catcher is a Matte object, which is not directly visible in the render but "catches" the shadows cast from an object. This approach is perfect for achieving a photorealistic render, compositing a 3D object with a shadow on top of an environment map or just as a backdrop.

Shado_Catcher_example.png
Example of render with Shadow Catcher

 

Workflow using V-Ray 7

In newer V-Ray version pre-created Shadow Catcher tool was added to simplify the proccess.

The Make Shadow Catcher tool creates a VRayObjectProperties tag with a matte preset

Select the object that will be a Shadow Catcher in your scene and then select the tool in V-Ray menu>Tools>Make Shadow Catcher to add such properties.

Make_Shadow_Catcher_V-Ray 7.png

 

See also: Make Shadow Catcher V-Ray for Cinema 4D documenation.

 

Workflow using V-Ray 5

In V-Ray 5 Shadow Catcher has to be created manually.

shadow_catcher_on.jpg

Download project created in Cinema 4D R25.117, V-Ray 5.20.03 here.

For the purpose of this guide, we used car geometry from Chaos Cosmos 3D content library. The scene lighting consists of a VRayDome light and an HDRI from Poly Haven used as an environment override.

 

Steps

1. Add a V-Ray Object Properties tag

Select the object that you want to turn into a Shadow Catcher. In most, cases that is a plane that catches the shadows of the object above.

In the Objects manager, go to the Tags dropdown > V-Ray Tags > Object Properties. Alternatively, right-click on the object in the Objects manager and add the V-Ray Object Properties tag from there:

object_properties_tag.png

 

With the Object properties tag selected, go to the Matte Properties tab in the Attributes manager. Then proceed on and:

  • enable the Matte Surface option
  • set Alpha Contribution to -1.0 (This means that the object's alpha is cut out from the alpha of the objects behind it)
  • enable the Shadows (this option makes the object receive shadows)
  • enable Affect Alpha

Matte_surface.png

 

2. Set up the environment map

Once a Shadow Catcher is added to the scene, it shows the background color behind it. The default color is black and if you want to see the HDRI image in the background, copy the shader from the Dome light:

Copy_shader.png

 

In the Overrides tab of the V-Ray settings, under the Environment rollout, enable Override Background and paste the shader in the texture slot:

Override_background.png

Was this article helpful?
2 out of 2 found this helpful