0
$\begingroup$

I know from here that it is possible to set an image as a world background. But I'm creating a stylised render and my background should not affect world lighting, that should be white.

How can I have a white background color for lighting (becouse of GI) and an image visible as a background in fnal render?

Regards

$\endgroup$
1

2 Answers 2

2
$\begingroup$

The easiest way is to check the Transparent setting in the Film section of the Render panel. Setup your world lighting with white lighting.

enter image description here

Then in Compositing you can load a still image with an image node and composite it behind your transparent render with an Alpha Over node. This way your scene will have white lighting, but your background can be a custom image.

If your background image dimensions are different than your render settings, you may need to run the image through a Scale node to get it work properly.

enter image description here



Option 2

The second option is to add an image plane behind your foreground elements. The trick is to use an Emission Shader for the plane material, then use an IsCameraRay Light Path to mix between the Emission Shader and an empty (ie no light data) shader socket. This lets the camera see the background, but effectively makes the plane invisible to the rest of the scene lighting.

enter image description here

$\endgroup$
1
  • $\begingroup$ Thanks, that's a good way, but I'd like to do it all during inside blender, not in composition, is that possible? $\endgroup$ Commented Jun 17, 2016 at 7:57
1
$\begingroup$

One way to do it inside blender without compositing is to use Light paths node with mixRGB for the world surface color input.

The Color 1 input will be the color of the light that is supposed to fall on the objects and the Color 2 will be the color of the background.

The Color 1 input will be the color of the light that is supposed to fall on the objects and the Color 2 will be the color of the background.

$\endgroup$

You must log in to answer this question.

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