# Green glow on objects in viewport and runtime

**URL:** <https://forums.unrealengine.com/t/green-glow-on-objects-in-viewport-and-runtime/413779>\
**Category:** Community & Industry Discussion\
**Tags:** lighting-error, skylight, viewport, bug, unreal-engine, runtime, question\
**Created:** [January 4, 2018, 11:25pm UTC](https://forums.unrealengine.com/t/green-glow-on-objects-in-viewport-and-runtime/413779 "2018-01-04T23:25:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benthedaddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Benthedaddy](https://forums.unrealengine.com/u/Benthedaddy)\
**Post date:** [January 4, 2018, 11:25pm UTC](https://forums.unrealengine.com/t/green-glow-on-objects-in-viewport-and-runtime/413779/1 "2018-01-04T23:25:10Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Benthedaddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Benthedaddy](https://forums.unrealengine.com/u/Benthedaddy)\
**Post date:** [January 4, 2018, 11:29pm UTC](https://forums.unrealengine.com/t/green-glow-on-objects-in-viewport-and-runtime/413779/2 "2018-01-04T23:29:06Z")

</div>

![225984-error.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/1/aa1e2523517395545d4e2f0ef333bd546ba0a76b.jpeg)

---

<div class="post-metadata">

**Author:** ![LeFxGuy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LeFxGuy](https://forums.unrealengine.com/u/LeFxGuy)\
**Post date:** [January 5, 2018, 12:44am UTC](https://forums.unrealengine.com/t/green-glow-on-objects-in-viewport-and-runtime/413779/3 "2018-01-05T00:44:22Z")

</div>

Did you try **r.ReflectionCapture** using the console or via command line blueprint node? This could maybe fix it but it is not meant for runtime usage and will cause a hitch

---

<div class="post-metadata">

**Author:** ![Benthedaddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Benthedaddy](https://forums.unrealengine.com/u/Benthedaddy)\
**Post date:** [January 6, 2018, 8:18pm UTC](https://forums.unrealengine.com/t/green-glow-on-objects-in-viewport-and-runtime/413779/4 "2018-01-06T20:18:44Z")

</div>

Gave it a try but didn’t sort it out, thx anyway 🙂
