0
$\begingroup$

There are many objects in the scene, and multiple lights too. Now, if I do not want a specific object's shadow for a specific light, what should be done?

Note that there are a few answers like this explaining the way to disable all the shadows of an object (then the object casts no shadows at all for any light), but what I want to achieve is disabling shadow of that object only for a specific light.

$\endgroup$

2 Answers 2

0
$\begingroup$

The only way is to create a separate render layer where you have a collection with the object ad a collection with all the lamp except the one (and a collection with the other scene object to make a mask).

$\endgroup$
1
  • $\begingroup$ Yes, masking is the only way to go. But maybe you should explain this more in detail because I guess for not so experienced users this isn't so obvious to create from one sentence. $\endgroup$ Commented Jun 24, 2021 at 13:33
0
$\begingroup$

Create 2 view layers and two collections.

Then separate the lamps and objects for each collection.

enter image description here enter image description here

In compositor you can combine them like this:

enter image description here

$\endgroup$
1
  • $\begingroup$ This won't work with "many objects" and "multiple lights". $\endgroup$ Commented Jun 24, 2021 at 13:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .