0

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.

CoolCoder
  • 626
  • 5
  • 15

2 Answers2

0

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).

Alfonso Annarumma
  • 257
  • 1
  • 3
  • 11
  • 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. – Gordon Brinkmann Jun 24 '21 at 13:33
0

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

Chris
  • 59,454
  • 6
  • 30
  • 84