# Lumen GI and reflection produces weird visual artifacts

**URL:** <https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421>\
**Category:** Rendering\
**Tags:** unreal-engine, Lumen\
**Created:** [September 13, 2021, 4:01am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421 "2021-09-13T04:01:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![wnbagh11](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wnbagh11/32/88719_2.png) [@wnbagh11](https://forums.unrealengine.com/u/wnbagh11)\
**Post date:** [September 13, 2021, 4:01am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421/1 "2021-09-13T04:01:01Z")

</div>

I have a very simple scene.  
– A flat ground that uses dynamic material instance (for trying parameters in runtime) from a standard Material. The material base Color is set to the white color. The roughness and metallic are used.  
– A “T” shape on the ground with default Material  
– Two spotlights and one point light.  
– Everything is in a closed room.

The image here is an overview of the scene

 ![scene.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/d/0d202c541e447bbf93f3d7f8dc398bc2016ea968.jpeg)

The problem happens when I decrease the roughness of the ground plane from 1.0 to 0.0.  
When the roughness is high—such as 1.0, 0.5—there is no visual problem.  
r=1.0

 ![r1.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/3/f3e09c7ca7da64d56f06c9bae3ab8256a882a0d1.jpeg)

r=0.5

 ![r0.5](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/a/8a24e793367c61e436b30295281cb3b58d4d3769.png)

**However,** When the roughness becomes smaller, the artifacts start to appear. Some kind of white light below the horizontal bar of the “T” shape.  
r=0.25

 ![r0.25.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/5/1557d92c638bb05dcf041b8e58aef5c7de34899b.jpeg)

The problem becomes more severe when the roughness is lower.  
r=0.0

 ![r0.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/b/5b8efd0fc43acf1ec0101fcd6b8c391872cd55cd.jpeg)

Nonetheless, these artifacts disappeared when I changed my camera angle so that the background is the wall—not the ground anymore.

 ![r0.25-1](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/f/6fc1fc2c33dbb26690a847321ba44241cab09d50.png)

These problems only appear when Lumen GI is enabled. I’m not sure whether it should behave in this way or not (I think it should not). I feel that the Lumen GI is running a screen-space reflection algorithm, but it should not be. My question is how I can eliminate these white lights.

Thanks!

---

<div class="post-metadata">

**Author:** ![Frenetic\_Pony](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frenetic\_Pony](https://forums.unrealengine.com/u/Frenetic_Pony)\
**Post date:** [September 13, 2021, 10:00pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421/2 "2021-09-13T22:00:12Z")

</div>

Just screenspace tracing going wrong. It’d be nice if they added dual pass sst as an option, which can mostly avoid this sort of error at the cost of a bit of extra render time. Maybe someone at Epic will see this and add it to whatever infinite backlog of work they have; thus it might get done some day.

---

<div class="post-metadata">

**Author:** ![wnbagh11](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wnbagh11/32/88719_2.png) [@wnbagh11](https://forums.unrealengine.com/u/wnbagh11)\
**Post date:** [September 14, 2021, 7:07am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421/3 "2021-09-14T07:07:18Z")

</div>

Thank you for the reply. However, from what I understand from the doc in this link ([Lumen Global Illumination and Reflections | Unreal Engine Documentation](https://docs.unrealengine.com/5.0/en-US/RenderingFeatures/Lumen/)). It looks like Lumen is not doing screen-space (SS) tracing and states that doing SS tracing is suboptimal. Can you please let me know where the documentation shows that Lumen is using SS tracing algorithm?

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [September 14, 2021, 5:48pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421/4 "2021-09-14T17:48:46Z")

</div>

> [@wnbagh11](#):
>
> It looks like Lumen is not doing screen-space (SS) tracing and states that doing SS tracing is suboptimal

Where does it say that?

> [@wnbagh11](#):
>
> Can you please let me know where the documentation shows that Lumen is using SS tracing algorithm?

> **[Lumen Technical Details](https://docs.unrealengine.com/5.0/en-US/lumen-technical-details-in-unreal-engine/)**
>
> An overview of technical capabilities and specifications of the Lumen Global Illumination and Reflections system.

It’s the section titled “screen tracing”

To debug this try disabling screen traces from Lumen reflections: `r.Lumen.Reflections.ScreenTraces 0`

---

<div class="post-metadata">

**Author:** ![wnbagh11](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wnbagh11/32/88719_2.png) [@wnbagh11](https://forums.unrealengine.com/u/wnbagh11)\
**Post date:** [September 14, 2021, 6:10pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421/5 "2021-09-14T18:10:32Z")

</div>

Thanks for the link, I will look into it and test the mentioned option.

> [@Arkiras](#):
>
> Where does it say that?

In my mentioned link, it says

> Lumen Global Illumination replaces [Screen Space Global Illumination (SSGI)]. Lumen Reflections replace Unreal Engine 4’s [Screen Space Reflections].

and also says

> In Unreal Engine 4, features such as [Screen Space Global Illumination] were not reliable and [Ray Tracing Global Illumination (RTGI)] was not performant for games with a high enough quality, and didn’t integrate with other important systems.

So if I understand correctly, it means Lumen does not use SS algorithms? (I’m not confident now).

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [September 14, 2021, 6:13pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421/6 "2021-09-14T18:13:26Z")

</div>

Lumen uses screen traces and falls back to tracing the Lumen Scene if the screen trace fails to find a hit.

SSR/SSGI are different systems, and they have no way of falling back to more reliable tracing methods.

---

<div class="post-metadata">

**Author:** ![wnbagh11](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wnbagh11/32/88719_2.png) [@wnbagh11](https://forums.unrealengine.com/u/wnbagh11)\
**Post date:** [September 14, 2021, 6:19pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421/7 "2021-09-14T18:19:05Z")

</div>

Got it. Thanks.

Also, I have tested the r.Lumen.Reflections.ScreenTraces 0, and it removes the white color under the horizontal bar, as shown below

 ![rr.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/6/2628b592290dc0575fdf1d87bd6389f0db039c13.jpeg)

I wish there would be an option in the future that fixes the artifacts without disabling the screen tracing.

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [September 14, 2021, 6:20pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421/8 "2021-09-14T18:20:40Z")

</div>

You should consider posting this to the [Lumen feedback thread](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/231403/159) or reporting it as a bug, seems like something Epic would want to know about if they haven’t encountered it already.

---

<div class="post-metadata">

**Author:** ![wnbagh11](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wnbagh11/32/88719_2.png) [@wnbagh11](https://forums.unrealengine.com/u/wnbagh11)\
**Post date:** [September 14, 2021, 6:42pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflection-produces-weird-visual-artifacts/250421/9 "2021-09-14T18:42:14Z")

</div>

I have posted it in that thread.
