I wanted to know how I can make this foggy effect on the background just like in the image below, that the far parts are hidden by the fog.

enter image description here

Thank you.


2 Answers 2


Another option is to surround your scene with a cube and give it a Volume based on a Volume Scatter node, with it's density controlled by the Z-Depth or View Distance output of a Camera Data node. In the example below, I used "multiply", as this gives the best generalized effect, whereas, "add" will make the fog "fill in" the caverns as the camera scrolls out. Have a try with both if you like.


This is the scene in solid mode:


As you can see, all I did was surround the scene with a cube, remove the surface color from the cube, and connect the Volume Scatter with a low density (governed by the Math nodes)

  • $\begingroup$ Could you please walk me through it? I'm having some difficulties getting it right. The box doesn't become transparent and doesn't generate any fog. imgur.com/eLcTiTa $\endgroup$
    – Elay
    Commented Jul 14, 2020 at 11:48
  • $\begingroup$ Sure, I added a second image to my photo. Can you elaborate more on what's wrong? I did nothing special to the cube except for modify the volume as shown in the first photo. Note the position of the light, however. It is necessary to illuminate the fog $\endgroup$ Commented Jul 14, 2020 at 13:16
  • $\begingroup$ read: Low lying fog $\endgroup$
    – susu
    Commented Jul 14, 2020 at 13:23
  • $\begingroup$ Thanks a lot!!! $\endgroup$
    – Elay
    Commented Jul 14, 2020 at 16:10

You can achieve this effect using a Mist Pass in the compositor. Search on this site for "Mist Pass" and you should find many examples.

  • 1
    $\begingroup$ Thank you very much! $\endgroup$
    – Elay
    Commented Jul 14, 2020 at 10:57

You must log in to answer this question.

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