Exponential Fog?

Hello!

I have two simple questions

  1. Is ExponentialHeightFog an exponential-dense fog, which is only related to height?
  2. If so, Are there any setting or way to create exponential-dense fog by distance?

Hello -

The Exponential Fog is a density fog based on distance from camera’s location. The default values can be somewhat misleading, but you can achieve quite a nice volumetric fog effect with the actor.

For reference -

By Default the Fog Density is set to 0.02 and the slider’s max value is 0.05. You can however bump that value up to a value of 1 or 2 and get a really dense fog.

Fog Height Falloff is defaulted to 0.2 which with a fog density setting of 1 or 2 completely blocks out the skybox. You can adjust this value up and slower reveal the skybox again.

The Start Distance is measured as units from the camera location for the fog to start and can be set to 0 for all encompassing fog, but the fog will never be completely thick around the camera. Its thickness is exponential from the camera’s location.

I have attached the sample project below, for you to have a look. One important note, Exponential Fog and Atmospheric Fog were not designed to be used together and do cause issues with Translucent materials when used together.

Thank You and if you have further questions, please let me know -

Eric Ketchum

[Expo. Fog Sample Project 4.8.2][2]

Hi,

We think this post contains useful information which we would like to share with our public UE4 community. With your approval, we would like to make a copy of this post on the public AnswerHub which includes the discussion but strips out your username and company name. Please let us know if you are okay with this.

Thanks!

Thank you Eric for your very kind answer with good explanation!

Dongsik

Hi Ben!

Please share this one too!

Dongsik