5
$\begingroup$

I want to turn off any light contribution to the scene by HDR maps. Background texture must be visible but there should be no light contribution to the scene.

$\endgroup$
2

2 Answers 2

8
$\begingroup$

You can disable the ray visibility of the environment for everything, except for the camera.

world ray visibility

$\endgroup$
1
  • $\begingroup$ unchecking the diffuse texture is all I had to do , thanks! $\endgroup$ Commented Dec 5, 2016 at 15:49
4
$\begingroup$

Setup your world material like this:

enter image description here

$\endgroup$
2
  • 1
    $\begingroup$ Using ray visibility is somewhat faster than the light path node in a lot of cases (although I'm not sure about this one). This is because it can prevent a sample instead of just zeroing out the sample after it's taken. Not sure that applies in this case, but generally if you can obtain your desired result with the ray vis switches, you should use those instead of the light path node $\endgroup$
    – JtheNinja
    Commented Dec 5, 2016 at 17:44
  • 1
    $\begingroup$ Yes, it would be faster in this case, but there are other reasons to use the light path node. $\endgroup$
    – Jake Duth
    Commented Dec 5, 2016 at 17:49

You must log in to answer this question.

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