17
$\begingroup$

I have an object with an hdr for the background. What do I do in Cycles to render the background with my object?

How is this different from an ordinary render in Cycles?

The hdr is a big one, 350MB.

$\endgroup$
  • $\begingroup$ Thank you @Cegaton, I didnt make my self clear! Sorry. I already have that part, it is the rendering that I dont know. I have an hdr in blender and an object that I have made. $\endgroup$ – Leonardo-Paradox Jun 8 '17 at 3:29
36
$\begingroup$

There are a few pieces to make this work.

In the world section, set the surface to Background and the Color to use Environment Texture. Then select the HDRI image you want to use.

enter image description here

To view the image in the 3d viewport enable Display> World Background.

enter image description here

Usually HDRi images use an Equirectangular Projection, that is mapped as a big sphere that completely surrounds the scene.

enter image description here

Note that the Background can only be displayed in perspective view, it will not be on orthogonal view.

The HDRi not only becomes the background for the scene, but is also used to light the scene. The intensity of the light can be controlled with the Strength value on the world settings.

enter image description here

To render the HDRi in the background of the scene disable>Film>Transparent.

enter image description here

If you render, you will see the HDR image as the background of your image.

If you want to use the HDRi to light the scene, but want a transparent background to be composited later with the background, or want to blur the HDR or maybe replace it all together, then enable film tranparent and enable the Environment output for the render layers, and use it as a different element in the compositor.

enter image description hereenter image description here

To change the placement for the background

In the World section of the Material nodes add a Texture Coordinate node and a Mapping node to control the placement of the Environment texture. By changing the rotation on the mapping node you can place the HDR where you need it.

enter image description here

enter image description here

$\endgroup$
  • $\begingroup$ Fantastic comprehensive answer! It's not as easy to click a button in Blender, thank you so much for taking the time to put this together! $\endgroup$ – Jay Versluis Mar 28 at 20:10

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.