What's the best way to combine 2 render layers with a HDRI background? I wanna have 3 layers and having one layer be denoised and have a separate layer just for the HDRI.

  • $\begingroup$ Simply using the environment pass should suffice I think for the hdri. Use alpha over to combine everything in the compositor. $\endgroup$ – Timaroberts Nov 11 '17 at 3:08
  • $\begingroup$ So the environment pass does work, but I can't use alpha over without enabling the transparent setting which causes the hdr to be transparent. $\endgroup$ – J.Jesse Nov 11 '17 at 5:05

If you simply enable the environment pass in a renderlayer, or add a single renderlayer using an empty scene layer to do so, you can achieve what you would like if I understand correctly what you are trying to do.

You will need to use transparent background, as you will need to use an Alpha Over node to combine the renderlayers to create the complete image.

Here is a simple example:

enter image description here Click to enlarge

The sphere is on it's own scene/ renderlayer and not denoised, while the monkey and plane are also on their own layer, and denoised. As you asked for a separate layer, the hdri uses an empty layer with the environment pass enabled.

The critical part, as noted is using the environment pass to be able to retrieve the environment image after rendering.

  • $\begingroup$ @J.Jesse, you're welcome, if this resolved your issue, consider marking the answer as accepted to remove it from the unanswered list. $\endgroup$ – Timaroberts Nov 11 '17 at 19:19
  • $\begingroup$ Do you mean delete the post, I'm not sure how to remove it from the unanswered list on mobile. $\endgroup$ – J.Jesse Nov 11 '17 at 19:22
  • $\begingroup$ @J.Jesse, see this link in the help center. It is at your option to vote, accept, or neither. $\endgroup$ – Timaroberts Nov 11 '17 at 19:30

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.