1
$\begingroup$

I'm trying to make an odd effect similar to a video game where things off in the distance aren't drawn, but aren't chopped off completely - they blend into the background instead. So it's sort of like a fog or mist, but one that only applies to objects and not the background.

The closest I've come to making this work is by using two separate RenderLayers - one that's only the background with a mist pass, and one that's all the objects. Unfortunately, this leads to a "ghost" effect: the objects are semi-transparent over the background. Additionally, it doesn't work with non-white objects.

Results of my attempt

Is there anything I can do?

$\endgroup$
  • 2
    $\begingroup$ Use a render pass instead of a new layer altogether, for the background. $\endgroup$ – someonewithpc Mar 6 '15 at 20:40
  • $\begingroup$ what color do you want for your fog.. should it match the background? also could you post your composting node setup? $\endgroup$ – GiantCowFilms Mar 6 '15 at 20:56
  • $\begingroup$ Use the level of detail function...it should be capable of what your trying to do. blendernation.com/2014/03/21/… $\endgroup$ – user13011 Mar 6 '15 at 21:13
  • $\begingroup$ Please do not use link only answers, as links can break. You can just summarize what was covered there, and use the link as an optional further in-depth reference. All answers/questions should be able to stand by themselves. $\endgroup$ – VRM Mar 6 '15 at 21:26
  • $\begingroup$ While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. $\endgroup$ – user7952 Mar 7 '15 at 0:05
0
$\begingroup$

With a single render layer, enable a mist pass.

enter image description here

Then in the compositor use the mist value and a color ramp a factor to mix the background.

enter image description here

enter image description here

$\endgroup$

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.