Wish: OpenGL haze or depthfog

Hi guys, one of the display features I really wish for is a haze or fog option to give a sense of depth to the distance.

It would need four values. Near, far, color and density.
Near defines how far from camera it starts, Far is when it reaches full density, Color is the hue of the fog and Density is how transparent it is at max (at Far value)

4 Likes

Yes, long time wish of mine as well…
+1.
It’s been logged but slated for “Future”:
https://mcneel.myjetbrains.com/youtrack/issue/RH-50893

We might be able to prototype this with GhGL now. I’ll need to experiment a bit.

2 Likes

Holo pretty much outlined the settings needed to make such feature useful. :crossed_fingers:

The fog PEP will be running in the viewport very soon. The PEP pipeline already works essentially and will bring all of them, including denoisers. This has been worked on for some weeks now and is quite close to completion.

@andy will be able to give more info.

1 Like

PEP = Post Effect Pipeline?
What other effects are there for viewports?
Would that work with any display mode?
sounds exciting…

Personal Equipment for Protection is what leaps to mind…

-Pascal

2 Likes

Personal Empowerment Program ?

Cool, can we see some examples or do we have to wait?

These are only for real-time rendering - not other viewport display modes.

I am bumping this wish, distance fog for OpenGL would be great!

And please add depth of field as well.
Being able to quickly add some depth indicators to the viewport would make illustrating and communicating architecture and landscape better.

(And if you like coding please consider adding some bokeh to the dof :wink: )