1
$\begingroup$

Is it possible to make a material that totally ignores indirect light, or direct light? In other words, could you render a material that looks only like the Direct Pass or the Indirect pass?

$\endgroup$
1
  • 1
    $\begingroup$ afaik, no. You can change the way it affects another materials (say, using light path / ray depth output), but not the way it is affected by other objects (received light). *(afaik means that I played with it up to 2.76. so newer ones may have the feature) $\endgroup$
    – Mechanic
    Jan 17, 2019 at 11:24

1 Answer 1

4
$\begingroup$

You can do it in the compositor, assigning to your mesh an object index different than 0.

enter image description here

$\endgroup$
2
  • 1
    $\begingroup$ Thanks. I am aware of this method. Was hoping to find a way to do it in materials. $\endgroup$
    – Ascalon
    Jan 17, 2019 at 21:33
  • $\begingroup$ Very useful. Thumbed up. $\endgroup$ May 7, 2019 at 21:41

You must log in to answer this question.

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