c0y Posted August 15, 2016 Share Posted August 15, 2016 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. 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. 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). thx for help ! Quote Link to comment Share on other sites More sharing options...
vijay_7363 Posted August 19, 2016 Share Posted August 19, 2016 https://www.sidefx.com/forum/topic/23286/ hope this is helpful to you. Quote Link to comment Share on other sites More sharing options...
c0y Posted August 20, 2016 Author Share Posted August 20, 2016 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]... Quote Link to comment Share on other sites More sharing options...
c0y Posted August 20, 2016 Author Share Posted August 20, 2016 To be more specific on what I try to get, here's what I would do with 3ds max / Vray : I want to do the same thing with the matteShadow shader in Mantra. Thanks ! Quote Link to comment Share on other sites More sharing options...
c0y Posted August 30, 2016 Author Share Posted August 30, 2016 No clue ?? Quote Link to comment Share on other sites More sharing options...
Guest tar Posted August 30, 2016 Share Posted August 30, 2016 2 lights, one set to negative will do that. Quote Link to comment Share on other sites More sharing options...
c0y Posted August 31, 2016 Author Share Posted August 31, 2016 thx for the tip, i'll try that ! i'd never thought to put negative value... thanks for the help ! Quote Link to comment Share on other sites More sharing options...
c0y Posted September 30, 2019 Author Share Posted September 30, 2019 +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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.