Directional Light brightness vs. bool Affects World

Hey all,

Why does setting a directional light’s intensity to zero have a different effect than setting the boolean Affects World? I’d like to have my light fade out in my level BP, but the “Affects World” turned off looks very different than an intensity of 0.

Many thanks!

Hey ianoreo -

Can you provide screenshots showing exactly what differences that you are seeing?

Thank You

Eric Ketchum

Hey Eric!

Sure thing. Here’s with affects world on:

And with it off:

Yet simply turning the brightness to zero seems to have a different effect:

Do you happen to have an atmospheric fog actor?

The atmospheric light works by doing some calculations based on the brightness, color and rotation of your directional light actor. If there isn’t any, atmospheric fog just assumes the default settings in it.

This means that when you set your directional light to 0, the fog adapts accordingly and when you set bAffectsWorld to false the fog just assumes default values.

That exactly what I was looking for. Thanks mate!