4
$\begingroup$

How can I replace the background of my scene, but keep the reflections and lighting generated from my HDRI?

$\endgroup$
3

1 Answer 1

2
$\begingroup$

Enable Transparent in Render settings > Film:

Now the sky will render as alpha transparency when seen directly, but still illuminate and reflect off other objects.

Once you have a transparent background, it can easily be filled in with another image via an Alpha Over node:

enter image description here
The Translate node is used for some tweaks to the positioning of the background image.

$\endgroup$
10
  • 3
    $\begingroup$ Maybe it would be good to include a bit of information regarding compositing work involved. After all, the question was not about how to get a transparent background, but how to change the background without effecting the scene. $\endgroup$ Jun 3, 2015 at 7:07
  • $\begingroup$ Much better! Although for simplicities sake, I would get rid of the translate node, but that's just me. $\endgroup$ Jun 5, 2015 at 7:23
  • $\begingroup$ This was not helpful to me, can anyone please provide an video tutorial $\endgroup$ Jun 15, 2018 at 17:35
  • $\begingroup$ @EhsanZargarErshadi What is unclear? I can't really help unless I know where you're stuck. $\endgroup$
    – gandalf3
    Jun 15, 2018 at 20:41
  • 1
    $\begingroup$ Thanks, found the answer here already actually (although the result gets slightly distorted): blender.stackexchange.com/a/145396/38603 $\endgroup$
    – eobet
    Mar 6, 2021 at 14:52

You must log in to answer this question.

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