# Lumen GI and Reflections feedback thread

**URL:** <https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108>\
**Category:** Rendering\
**Tags:** Staff-Pick-UE, unreal-engine, Lumen\
**Created:** [February 22, 2022, 9:01pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108 "2022-02-22T21:01:05Z")\
**Posts on this page:** 20\
**Page:** 42

<div class="post-metadata">

**Author:** ![Krzysztof.N](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krzysztof.N](https://forums.unrealengine.com/u/Krzysztof.N)\
**Post date:** [April 10, 2023, 1:30pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/837 "2023-04-10T13:30:32Z")

</div>

> [@jblackwell](#):
>
> Just a quick FYI to the lumen team: the surface cache is still absolutely destroyed by the enabling of r.RayTracing.Nanite.Mode 1.

Yes, it’s a known bug and is still awaiting a fix. Nanite ray tracing generates wrong geometry normals, which then break surface cache sampling.

---

<div class="post-metadata">

**Author:** ![Krzysztof.N](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krzysztof.N](https://forums.unrealengine.com/u/Krzysztof.N)\
**Post date:** [April 10, 2023, 1:33pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/838 "2023-04-10T13:33:48Z")

</div>

> [@Miguel1900](#):
>
> Is there any way to control (in any way, like intensity, radius, contrast, for example) the ‘AO’ generated by Lumen? Previously there was a cvar which was useful to slightly tweak the AO (something like containing ‘bent normals’, but not sure), however it doesn’t work anymore. Anyway, even if still working, any additional cvar related would be useful too.

I assume you mean short range AO which is added on top of GI, and not bent normal from the material output? In that case take a look at r.Lumen.ScreenProbeGather.ShortRangeAO.\* CVars, specifically:

- r.Lumen.ScreenProbeGather.ShortRangeAO.MaxMultibounceAlbedo
- r.Lumen.ScreenProbeGather.ShortRangeAO.ScreenSpace.FoliageOcclusionStrength

Where foliage means pixels with a Two Sided Foliage or Subsurface shading models.

---

<div class="post-metadata">

**Author:** ![Krzysztof.N](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krzysztof.N](https://forums.unrealengine.com/u/Krzysztof.N)\
**Post date:** [April 10, 2023, 1:41pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/839 "2023-04-10T13:41:28Z")

</div>

> [@BananableOffense](#):
>
> It’s only visible in screen traces and seemingly only in the direction of the reflective surface’s normal.

Maybe something with r.Lumen.Reflections.SampleSceneColorNormalTreshold, which is designed to prevent to sample wrong side of the mesh.

> [@BananableOffense](#):
>
> I’m probably missing something but I can’t see any difference besides light transmission. That said I’m currently quite pleased with the state of lighting on foliage. Reflections on the other hand can be problematic.

This hit skip is only active for GI and can be toggled with r.Lumen.ScreenProbeGather.ScreenTraces.HZBTraversal.SkipFoliageHits. If a hit is skipped then it will be continued using world space traces. The idea here is that two sided DF are dithered to they should leak light and make foliage occlude less.

> [@BananableOffense](#):
>
> Is it possible to have a per mesh or better yet material option to skip screen tracing lighting and/or reflections (preferably independently)? I’m often quite happy with them, but there’s usually a few problem meshes and materials and it feels like the only solution is to disable traces entirely which is a bummer.

Anything set per mesh or material would require to add a bit to GBuffer and GBuffer space is at premium, so unlikely to happen unless it’s undoubtedly a critical and must have feature to ship.

We could do some kind of skips based on data which is already there, like shading model. For this we need just need to figure out a common need, so that we add something that is useful for most people.

---

<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:** [April 10, 2023, 2:42pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/840 "2023-04-10T14:42:57Z")

</div>

> [@Krzysztof.N](#):
>
> We could do some kind of skips based on data which is already there, like shading model. For this we need just need to figure out a common need, so that we add something that is useful for most people.

Maybe a stupid question but is there any chance this will become more flexible with Strata? Since it replaces the existing fixed shading models with more modular bits.

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [April 10, 2023, 3:33pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/841 "2023-04-10T15:33:21Z")

</div>

> [@Arkiras](#):
>
> Maybe a stupid question but is there any chance this will become more flexible with Strata? Since it replaces the existing fixed shading models with more modular bits

Hopefully not a stupid question because I immediately had the same though.

But at the very least it sounds like it could be done with a custom shading model if needed.

> [@Krzysztof.N](#):
>
> We could do some kind of skips based on data which is already there, like shading model. For this we need just need to figure out a common need, so that we add something that is useful for most people.

That makes good sense.

Its kind of hard for me to generalize the cases, but I’d say it’s typically at its worst when the screen tracing causes significant visual discontinuities between the ray trace and the screen trace. This is usually due to a difference in how the surface and/or hit lighting is drawing an object vs it’s lit view (and thus its resulting screen traces).

You can see an example of this with the foliage on my last post, where the hit lighting presumably doesn’t evaluate the light transmission and the raytraced leaves are much darker than the screen-traced leaves.

In that example, the screen trace is more believable to my eye, but the discontinuities as you transition between them are the real issue.

Similar problems happen with other materials, for example when using distance fields in the shader. Some of these I hope and expect will be solved as other parts of Lumen are improved.

Materials whose Lumen reflection view representation are a close match to the lit view look great and the transition to screen traces are near invisible.

And all said and done, these discontinuities are still better than the old way of doing things like with SSR and probes.

I’ll test out the threshold setting and post results later tonight.

---

<div class="post-metadata">

**Author:** ![jblackwell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jblackwell](https://forums.unrealengine.com/u/jblackwell)\
**Post date:** [April 10, 2023, 6:57pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/842 "2023-04-10T18:57:01Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/0/f801858eed54856a8150f25f7b61fa89ebe18c62.png)  
RT nanite enabled  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/d/7cd01f5f8359cea092c22ab41dc931be505fb616.png)  
RT nanite disabled.  
I see what you mean, this is a mess. It’ll be good to have this fixed, but I very well understand the problem is non-trivial. Dynamically constructing and managing BLAS/TLASes while maintaining a memory budget and constant streaming seems like an incredible undertaking, I am very impressed.

It does seem that each mesh rasterizes a bit differently as the setting is enabled/disabled, and meshes aren’t universally correct or incorrect. It’s very, very strange.

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [April 11, 2023, 12:11am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/843 "2023-04-11T00:11:34Z")

</div>

> [@Krzysztof.N](#):
>
> Maybe something with r.Lumen.Reflections.SampleSceneColorNormalTreshold, which is designed to prevent to sample wrong side of the mesh.

Gave it a spin and it doesn’t appear to be effected by this setting. Here it is at 200, which has an obvious effect on the trace, but the dilated pixels are still visible. It’s still visible at 0 as well. Default was 85.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/7/fd7993693d2728a49fb39d07e1d5069bcaaa9a10.jpeg)  
Interestingly, unlike the normal threshold setting, it actually extends outside the mesh itself.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/2/792894738bbac7b5c373703401b9bc13cbb19538.png)  
It also seemingly fades out the closer the camera vector is to the surface tangent, and gets stronger the closer you are to the normal.

---

<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:** [April 20, 2023, 3:19am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/844 "2023-04-20T03:19:01Z")

</div>

Coming back to this, I noticed something interesting today: Lumen appears to ignore emissive translucency for screen traces, except when TSR is set as the antialiasing method.

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/a/63a3b4b906d479eae8d5c8c17d8089d592d02032.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/a/63a3b4b906d479eae8d5c8c17d8089d592d02032.mp4)

I’m not sure if this is a bug (and if so… which is bugged? Lumen? TSR? TAA/FXAA? No clue what the intended behavior is), but might be helpful in your case. Recorded here in 5.2 preview, but I also tested in 5.1.1 and confirmed the same behavior.

---

<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:** [April 20, 2023, 2:42pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/845 "2023-04-20T14:42:45Z")

</div>

Not sure if you have a better solution in the works but would you guys consider adding a Lumen Screen Traces toggle (for GI traces specifically) to the Post Process Volume settings?

I saw in 5.1 that you added the ability for hidden meshes to affect indirect lighting, but this really doesn’t work unless you disable screen traces. It would be nice to be able to regionally disable screen traces through the post process volume so that you could disable them only in areas that are relying on light from hidden emissives.

I imagine hard booleans in the post process volume aren’t particularly desirable since they can’t smoothly transition, but I find the switch often isn’t that noticeable (or at least isn’t any worse than an LOD pop)

---

<div class="post-metadata">

**Author:** ![zefreestijl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zefreestijl](https://forums.unrealengine.com/u/zefreestijl)\
**Post date:** [May 6, 2023, 2:35am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/846 "2023-05-06T02:35:25Z")

</div>

Hi, I’m using Lumen for reflection method,  
is it possible to correctly reflect any reflected outcome like HDRI or sky or clouds from other materials?

 ![reflectionProblem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/d/28dfb29b544b372f2453d3db9e297d3f15b2d131.jpeg)

thanks in advance

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [May 6, 2023, 3:53am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/847 "2023-05-06T03:53:05Z")

</div>

Not exactly the same, but this thread talks about altering the appearance of reflected objects within reflections. It should also be applicable to windows. The basic idea is to use a raytracing quality switch or custom node to alter the appearance of materials when they are drawn in reflections.

> [@Lumen Metals in Reflections](https://forums.unrealengine.com/t/lumen-metals-in-reflections/539738/29):
>
> Just for anyone who’s wondering and isn’t already aware: UE5\_main for the past couple of months has supported multi-bounce lumen reflections, due for release in 5.3. If you have the processing power, it’s a solved problem, but the hacks as presented here are still extremely useful from a performance perspective.

---

<div class="post-metadata">

**Author:** ![zefreestijl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zefreestijl](https://forums.unrealengine.com/u/zefreestijl)\
**Post date:** [May 8, 2023, 2:08am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/848 "2023-05-08T02:08:32Z")

</div>

Hi, thanks for the reply,  
[Ray Tracing Performance Guide in Unreal Engine | Unreal Engine 5.0 Documentation](https://docs.unrealengine.com/5.0/en-US/ray-tracing-performance-guide-in-unreal-engine/)  
I’ve searched and tried to learn about the method on the documents,  
but all the results were only applied on the surface instead of the reflections…

though the result was not what I am looking for,  
the link in your post is really helpful,

 ![5.3MultiBounce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/3/d03a6d5177fe832f7ba6c8980f9f446bf51b3148.jpeg)

I think I’ll just wait and see how it will look like in 5.3 :]

---

<div class="post-metadata">

**Author:** ![\_005\_7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_005\_7](https://forums.unrealengine.com/u/_005_7)\
**Post date:** [May 12, 2023, 11:42am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/849 "2023-05-12T11:42:28Z")

</div>

+1…  
I want to know how to achieve glass to reflect other glass materials normally, instead of being black or invisible. This is necessary in architectural visualization

---

<div class="post-metadata">

**Author:** ![UElaci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UElaci](https://forums.unrealengine.com/u/UElaci)\
**Post date:** [May 12, 2023, 12:28pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/850 "2023-05-12T12:28:56Z")

</div>

Hey guys, anyone here knows a console command or a set of commands to execute to force update over all of existing lumen cache in scene?

I’m experimenting with lumen in VR but shutting down lights will leave all kinds of residual lightin unless the player moves around a bit. It would be nice to be able to force some restart after lights are shut off.

---

<div class="post-metadata">

**Author:** ![Miguel1900](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miguel1900/32/1010694_2.png) [@Miguel1900](https://forums.unrealengine.com/u/Miguel1900)\
**Post date:** [May 12, 2023, 5:10pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/851 "2023-05-12T17:10:03Z")

</div>

Maybe disabling the cache and enabling it again? I don’t remember the cvar, but something like searchin for Lumen + cache.  
There was some cvars related to lumen + reset or force, or update, which may fit your needs. Let’s me know!

---

<div class="post-metadata">

**Author:** ![\_005\_7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_005\_7](https://forums.unrealengine.com/u/_005_7)\
**Post date:** [May 12, 2023, 5:50pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/852 "2023-05-12T17:50:18Z")

</div>

Unfortunately, I tried 5.3, which is only effective for non semi transparent objects that are reflected, and semi transparent objects still cannot appear in the reflections of other semi transparent objects

---

<div class="post-metadata">

**Author:** ![TheKJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheKJ](https://forums.unrealengine.com/u/TheKJ)\
**Post date:** [May 12, 2023, 6:40pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/854 "2023-05-12T18:40:18Z")

</div>

What is your hardware?

---

<div class="post-metadata">

**Author:** ![painx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@painx](https://forums.unrealengine.com/u/painx)\
**Post date:** [May 12, 2023, 10:55pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/855 "2023-05-12T22:55:09Z")

</div>

I am very disappointed by the latest build of Lumen reflections 5.2. I don’t think I have seen Lumen reflections this broken and screenspace dependent. I have set everything on Ultra. Please see my attached video and let me know if I do something wrong on my end.

[https://www.youtube.com/watch?v=3lQfAotUYqY](https://www.youtube.com/watch?v=3lQfAotUYqY)

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [May 13, 2023, 3:03am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/856 "2023-05-13T03:03:57Z")

</div>

Lumen will only reflect what’s visible in the lumen scene debug views under lit. Make sure all your meshes have distance fields enabled and there’s enough lumen cards and it matches the scene well. Might need to break up meshes.

---

<div class="post-metadata">

**Author:** ![UElaci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UElaci](https://forums.unrealengine.com/u/UElaci)\
**Post date:** [May 13, 2023, 4:47am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/857 "2023-05-13T04:47:19Z")

</div>

Thanks, I tried couple of cvars and just figured out that the problem only exist while in VR at runtime. In editor lumen updates perfectly, I tried matching scalability for runtime to editor but the issue still exist so far…

[Previous page](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108.md?page=41)

[Next page](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108.md?page=43)
