Jump to content
Sign in to follow this  
c0y

One object on whole matteshadow scene

Recommended Posts

Hi,

i'm trying to get the shadows of an object on the other objects in my scene. But I have an issue :
the MatteShadow material project the shadows of all objects. I only want the shadows of my single object. I can't find any parameter to disable a "receive shadows" like in 3ds max or Maya.

shadowmatte_help_1.jpg

So I tried with Light Mask. But here is the second problem :
When I have several objects, the shadows is casted as if the other objects don't exist.

shadowmatte_help_2.jpg

So :
1) If I use a MatteShadow, is it possible to disable the cast shadows on the objects that have this material ?

2) If I'm using Light mask, how can I get the excluded objects from light being considered ?

I want to render several passes of objects with their shadows... but I can't find a way to do it like in Vray (Vray properties > Matte object).

shadowmatte_help_3.jpg

thx for help !

Share this post


Link to post
Share on other sites

Hi, thanks for your reply, but it's not exactly what I want. I've already tested this scene.

This is my second case in the post :

When I play whit Light Masks and Shadow Mask, and exclude my box from shadows, Mantra considers that the box doesn't exist and it projects only the sphere shadows onto the box and the grid but without substracting the occluded part due to the box.

I actually want the box's shadows to be substracted from the sphere.

If I get the scene file from the link you gave me, what I want exactly is the shadows of the Torus onto the sphere (so that's OK) but I also want it on the grid, without the one of the sphere. But I get the full shadow of the torus instead of the [torus' shadows - sphere's shadows]...

shadowmatte_help_4.jpg

Share this post


Link to post
Share on other sites

To be more specific on what I try to get, here's what I would do with 3ds max / Vray :

shadowmatte_help_5.jpg

I want to do the same thing with the matteShadow shader in Mantra. :)

Thanks !

Share this post


Link to post
Share on other sites
Guest tar

2 lights, one set to negative will do that.

Screen Shot 2016-08-31 at 11.43.25 am.png

Share this post


Link to post
Share on other sites

thx for the tip, i'll try that ! i'd never thought to put negative value... thanks for the help ! :)

Share this post


Link to post
Share on other sites

+bump this thread.

I can't find the setup with the negative light, can someone has a hip file where it works ?

Can we do that directly inside a material builder, to subtract matte objects ??

Thx 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×