1
$\begingroup$

I want to make an object that's emission strength can be increased as much as I want but the the light should only affect objects within a certain distance and not beyond that. Is it possible to do that? enter image description here

$\endgroup$

1 Answer 1

5
$\begingroup$

It can be done with the Light path node, using the Ray length option in a first approach.

If a more precise result is needed by ignoring completely the light source for certain objects, an OSL solution has been proposed here: Is it possible to have an object ignore a certain light source but still be affected by others?

enter image description here enter image description here

$\endgroup$
2
  • $\begingroup$ Cool! Thank you so much! $\endgroup$ Commented Feb 8, 2023 at 6:07
  • $\begingroup$ Thank you !!! Hero of the day! $\endgroup$
    – alFrame
    Commented Mar 3 at 23:43

You must log in to answer this question.

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