1
$\begingroup$

I have a volumetric shader set up for the World.

enter image description here

But when I render, I see a transparent background behind where the density is too low.

enter image description here

Is there a way to remove transparency and add a background color or texture instead?

$\endgroup$

1 Answer 1

3
$\begingroup$

Check in "Render Properties > Film" and make sure Transparent is unchecked.

enter image description here

If you want to add a background color, but not have it affect the lighting of the scene you can hookup "Camera Ray" from the Light Path node to a mix shader.

enter image description here

$\endgroup$
1
  • $\begingroup$ Thank you! The "Camera Ray" approach is very interesting! $\endgroup$
    – Rumata
    Commented Dec 27, 2019 at 1:58

You must log in to answer this question.

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