I'm trying to find something for 2.8 but struggling.

I want to use the z height (depth on render layer?) to reduce the intensity of mist (composite layer) exponentially as height increases.

Currently, the mist render layer setup only affects intensity based on distance from camera.

The following tut shows how it could be done but it doesn't seem to have the same effect in 2.8.

shader setup mist pass

how to make a z-depth AND height pass?

Can anyone help with the node setup please?

  • 1
    $\begingroup$ related: blender.stackexchange.com/questions/43600/… $\endgroup$
    – user1853
    Jan 9, 2020 at 14:15
  • $\begingroup$ Thanks - interesting approach. $\endgroup$ Jan 9, 2020 at 14:20
  • $\begingroup$ The linked answer on your post is easy to do in 2.8. The only difference is that layers have changed to collections and view layers. But the same principles apply. Read: blender.stackexchange.com/questions/96463/… $\endgroup$
    – user1853
    Jan 9, 2020 at 14:21
  • $\begingroup$ Ahhh - OK - it's a little confusing so let me work through it - thanks. $\endgroup$ Jan 9, 2020 at 14:45


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.