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

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

world ray visibility

$\endgroup$
  • $\begingroup$ unchecking the diffuse texture is all I had to do , thanks! $\endgroup$ – Ankit Passi Dec 5 '16 at 15:49
3
$\begingroup$

Setup your world material like this:

enter image description here

$\endgroup$
  • 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 Dec 5 '16 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$ – JakeD Dec 5 '16 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.