So I’m getting this green glow when the sun is below the landscape and intensity is set to 0, meaning I cant make it night time.
I’ve disabled Post process effects, removed everything from the scene but my main actor, changed the colour of grass to red to see if its some kind of colour reflection but nothing seems to get rid of it.
Happens in viewport and at runtime.
I’m changing the sun direction and intensity and skylight intensity every 2 seconds at runtime.
Any ideas?
Project is halted until I can figure this out
Edit: So after a lot of wasted time trying to figure this out I finally have it.
The cause of the problem is the skylight it seems. If I build the lighting while the skylight has an intensity above 0, this is when the green error starts occurring after the sun goes below landscape (yes sun intensity is nil at that point)
Even though the skylight intensity is changed to 0 at this point in runtime.
If I build the lighting while the skylight intensity is 0 however, the green glow doesn’t appear.
Is this a bug?
Will it affect my final project?
Seems odd that I have to build lighting with it set to 0 when the intensity is constantly changing at runtime…