1
$\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$

3 Answers 3

2
$\begingroup$

You can use Shadow linking when selecting your light source under Object Properties, Shading. You can create a collection and the objects from this collection will be the only one having a shadow enter image description here

$\endgroup$
1
  • $\begingroup$ Which Blender version are you using ? $\endgroup$ Commented May 10 at 20:01
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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.