Distance haze/fog - is this possible?

Is it possible to have distance haze/fog? I’m working on a large scale outdoor level and, while I’m doing my best to keep the visible polygon count low, it would be great if I could use a distance haze effect. This would add atmosphere and act as a less harsh distance clipping function. Can anyone tell me how to do this?

Thanks.

Edit->RenderSettings

enable Fog

D’oh!

I was looking for this… thanks! :smile:

Hi !

This thread spawned a question/problem that´s been
bugging me/our team for a while:

As I enable the fog, the skybox is still drawn
at top of the fog, as I want the horizon/skybox to blend with the fog (as it is with Torque).
And the other thing is that if I set the draw distance (far clipping plane) to near and enable to fog, the objects for eg. terrain still “pops” out of it instead of coming/blending smoothly out of it, thus making it obsolete to use it for reducing/masking the clipping ?

Cheers !!

What I did was to have the skybox be the reference for fog density, and to set the fog density and color so that it would blend with the skybox properly (we have rendered mountains into the skybox).

Then we have a separate fog and far clip setting for each quality level, with the fog adjusted to look right for each of the far clip settings.

Not automatic, but gives pretty nice results.