Chaos Corona for Cinema 4D > [C4D] I need help!

Workflow tips for compositing- maybe Multi Pass?

(1/3) > >>

I feel I'm doing more work than I need to for this project and hope someone can shed light on a more efficient way.
I've created a number of static scenes that will and up being A1 prints. As the backgrounds are all this companies brand colour, and to save render time I decided I don't need to render the entire poster, just the region with the objects. So the challenge is to separate the object from the background, but include the shadow. I have a shadow catcher on a floor plane, but when I render it (without the floor) my floor shadows are black, not the red/orange that they are visually. So instead I've been rendering the file three times to mask in photoshop properly
- once of the entire scene including background,
- once with the  background with a composting tag set to not be seen by camera but with a plane on the floor with a shadow catcher material
- and once with just the object alpha.

When I composite the file I use the layer with the floor shadows set to multiply to create nice red shadows on the solid background.

I feel there is a smarter way of doing this rather than render three times! Looking at mulitpass it wasn't obvious how I could solve it. Any advice gratefully received!

Render the whole scene once:
- beauty will be the object standing on top of the shadowcatcher, the shadowcatcher should be set to "for compositing" and have orange color
- alpha will contain the object+shadow information from the shadowcatcher
- additionally use a masking element to get the object mask

Maybe I am missing something, but it should work.

Your answer is how I expected to do it, but I must be doing something else wrong because it just doesn't work like that for me.
The shadow catcher is set to 'For compositing' but it creates artefacts where it intersects the floor in the Beauty pass. And when I use a mask it isn't a string mask but a multi coloured thing.

Dropbox link to project (32MB)

UPDATE: Just realised I set an Object ID and not a Mask in the MultiPass setting. So have the Glass mask sorted. But the contact shadows still escapes me.

I just realised I add the shadow catcher as a second material on top of the background material. Not sure where I was when I was supposed to be learning that!

Shadowcatcher is generally used for images using backplates AFAIK. In your case I'd expect you to use a solid colour in the Direct Visibility override slot and to add the same colour into the Environment slot of the shadowcatcher material.

If you have a real floor/cove in the scene etc then I'm not sure it will work properly or of that is the purpose of the shadowchatcher.

I'm happy to be informed otherwise tho'


[0] Message Index

[#] Next page

Go to full version