So how would I keep one hdri for lighting and use (and be able to edit / adjust) another one for the sky?
1 Answer
$\begingroup$
$\endgroup$
6
Mix your 2 Background nodes through a Mix Shader and use the Is Camera Ray output of an (Input) Light Path:
-
$\begingroup$ maybe you should mention that you should use the camera as texture coordinate? $\endgroup$– ChrisCommented Dec 7, 2022 at 10:09
-
$\begingroup$ @Chris I'm not sure what you mean, actually what will be plugged into the top input of the Mix Shader input will be what will light the scene, while what will be plugged in the bottom input will be what will be seen as background, I thought this what the OP wanted to know? $\endgroup$ Commented Dec 7, 2022 at 10:19
-
$\begingroup$ i meant the "not showing" texture coordinate node ;) $\endgroup$– ChrisCommented Dec 7, 2022 at 10:30
-
$\begingroup$ @Chris The Environment Texture uses by default Generated coordinates when nothing is plugged in - and to use different HDRIs for lighting and background it is not necessary to set the coordinates to Camera, in which case it is irrelevant what is plugged in there since it would work without any Vector input. $\endgroup$ Commented Dec 7, 2022 at 10:36
-
$\begingroup$ I think that the OP wants an invisible background that will be the one that will enlight the objects, and another one that we will see but that won't act on the objects $\endgroup$ Commented Dec 7, 2022 at 10:46