Just Another HDRI Question (yes i did use the search function)

How would i use HDR so that it reflects onto the object but the render will not show it as the world image?

Im doing a few renders and the objects themselves look alright but the world texture in the background just looks off. Is there someway i could make the objects look the same with the background world colour being just a plain white colour?

  1. You can always edit the Image if you use a file format like .tga or .png which save the alpha channel, too. Simply open it in your favourite Image editor and remove the BG using the Alpha channel.

  2. You can also enable “Premul” instead of “Sky” in the render tab. You then get an image with a black BG (in Blender’s Internal). Same goes for “Key”.
    But take a look at this: http://mediawiki.blender.org/index.php/Reference/Panels/Scene/Render/Render

At the bottom of the page you’ll find better explanations.

(And since you’re using Yafray - Yafray seems to use the sky color as color for the BG when you use “Premul” - that should give you what you want.)

ahhh, thanks

Your question was answered before just not here
if I’m not mistaken. Search the YafRay forums.
There should be a post there about using an HDR image
for lighting and reflections as well as not having
it show up in the background. I’m sure
you have to export an .xml file from blender and then edit the .xml
to get it to work right. If you have windows xp
just go to start- then run and type cmd.There you will be able to
change to the YafRay folder start YafRay
and tell it what xml file to render.

Heh, I was too fast - HDRI’s are still shown in the render, as I discovered today. So, using the buttons in the render window won’t work, I guess…

Still, the first method that I described works of course. Or you search the Yafray forums, as suggested before.