# 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:** 73

<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:** [January 16, 2024, 7:43pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1507 "2024-01-16T19:43:58Z")

</div>

> [@Miguel1900](#):
>
> Some new options added directly inside the PPV: Screen Traces checkbox

🥳

---

<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:** [January 16, 2024, 8:43pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1508 "2024-01-16T20:43:14Z")

</div>

Really! Source works now? I tried building it when the team went on hiatus and it kept failing. It is so good to hear that these fixes and improvements exist! This will be wonderful. Stochastic direct lighting is one of the headline features I’m really excited for, and I can’t wait to see if the quality will be acceptable enough to replace some of the far more limited raster methods.

---

<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:** [January 16, 2024, 8:58pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1509 "2024-01-16T20:58:00Z")

</div>

Yes, it does!

How can I check that kind of lighting? (I’m not sure what it is)

---

<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:** [January 16, 2024, 9:04pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1510 "2024-01-16T21:04:14Z")

</div>

Stochastic lighting is Basically epic’s version of RTXDI, so it selects which lights to shadow via ray-tracing and can (theoretically) scale up to an arbitrary # of lights at a fixed cost. As for how to enable it, I don’t know, bc I’ve never had a successful build of an engine version with the feature set.

The point of the technology is basically to have a local lighting solution that’s cheaper than VSMs but better than regular shadowmaps, and can scale up to many lights. I’d say it’s sort of nanite for direct lighting, but that comes with with so many caveats and exceptions that it’s a bad analogy.

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [January 16, 2024, 10:32pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1511 "2024-01-16T22:32:47Z")

</div>

the 5.4 preview builds, rn? i’d not mind a looksie. which commit i gotta build? do tell… 🙂

---

<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:** [January 16, 2024, 11:00pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1512 "2024-01-16T23:00:00Z")

</div>

Sounds great!

Is it maybe related with the Restir cvars I mentioned time ago? (I think you talked about this after that)

@glitchered , I built it yesterday from main branch. I usually don’t have problems when compiling from source.

---

<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:** [January 17, 2024, 11:18am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1513 "2024-01-17T11:18:59Z")

</div>

Oh, wow!

I see it’s not Restir (it still doesn’t work), but tested stochastic and it’s so promising!

I have enabled it and went from 34FPS to 47FPS in a demandant archviz scene, with minor visual difference. Shadows are something like slightly more blurry in their edges, but the worse point is that it will be more noticeable in thin objects’ shadows (like the legs of a chair), looking a little pixelated. I haven’t found a way to increse the resolution or sampling; maybe it’s still not available:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/8/178d95a0c686fe2dbaf6b541fe8f04a620980e88.png)

The best option (for this, specifically), for the moment, is to increase the screen percentage (100%):  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/b/97baeafed590b2acfc807905bf88af9ba6bc3902.png)

Without stochastic, but ray traced:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/8/2084734825f36007df6379d2c51ae23df093d280.png)

---

<div class="post-metadata">

**Author:** ![INSOPRO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@INSOPRO](https://forums.unrealengine.com/u/INSOPRO)\
**Post date:** [January 17, 2024, 12:22pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1514 "2024-01-17T12:22:31Z")

</div>

@glitchered @jblackwell its building fine for me as well for the last couple of months (Im usually testing new builds every weak or so)

Mak sure that you have NET 6 and all the correct Visual studio installer components checked

> **[Download .NET 6.0 (Linux, macOS, and Windows)](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)**
>
> .NET 6.0 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/6/b56b6e8479960e61ed087dcdfe031d061996983f.png)

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [January 17, 2024, 12:55pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1515 "2024-01-17T12:55:00Z")

</div>

i’m not a pro, but dude… i’m not an amateur either. i have everything installed i need. (not just for unreal coding)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/3/f232f445d80f12e7c0d69b01afba41230c1d44b9.png)

pretty sure i’ve just been unlucky and picked the dailies that did not build.

(i’m out of space rn anyway. custom 5.3.2 build taking it. gotta stay for some shader dev for an eventual future project.)

---

<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:** [January 17, 2024, 2:50pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1516 "2024-01-17T14:50:21Z")

</div>

I do think I just got unlucky in this case, as to @glitchered’s point, not every version is guaranteed to build, especially with some of the fundumental changes they’ve been making. I’m happy to retry it, but it’s hard to get the 370-ish GB I need in order to actually build it successfully. If anyone knows any way to cut down on bloat, I would be grateful.

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [January 17, 2024, 3:41pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1517 "2024-01-17T15:41:54Z")

</div>

my 5.3.2 custom build takes “only” 230 GB. (you gotta laugh typing ‘only’ 230 xD) it’s from the “release” channel tho. is the main branch more bloated? i don’t remember how big the 5.3 daily build was, i compiled back then. i only build the UE5 project, not the whole solution. also development editor config is basicly the “release” build without additional debug bloat. you sure you used that one?

---

<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:** [January 17, 2024, 5:40pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1518 "2024-01-17T17:40:02Z")

</div>

I barely touch development editors beyond what it takes to build; what’s the distinction between building the project vs. the whole solution?

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [January 17, 2024, 6:01pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1519 "2024-01-17T18:01:18Z")

</div>

the solution contains other projects/programs. this may take a while longer to compile. i think it built for over 10 hours the last time i tried that. the dependencies for the editor only project are compiled anyway, but the time should be a lil shorter. i built 5.3.2 in 2:30 something hours on my lil 6 core.

* * *

and i just hit the button and try the main branch once more. [119/5995]. 3 hours to wait? wish me luck. i hope the 5.3 DLSS code compiles without issues. gonna need a lil help pushing my hardware to the limit.

edit: so much for dlss

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/d/4ad2ab7347c0bc7489a600093ea7d456b82d0b95.png)  
just 11 errors is nice tho. i think/hope i’ll figure out how to fix that. i can barely read the codebase. challenge accepted. 🙂

---

<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:** [January 17, 2024, 8:51pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1520 "2024-01-17T20:51:39Z")

</div>

Checked mine and it’s 182GB total (you can delete tons of GB when already compiled and working). But I’m not an expert about compilation. The first time it was a brutal fight to make it work; I not sure if I could achieve it again after formating my PC 🥲

---

<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:** [January 17, 2024, 8:59pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1521 "2024-01-17T20:59:31Z")

</div>

> [@jblackwell](#):
>
> I do think I just got unlucky in this case, as to @glitchered’s point, not every version is guaranteed to build, especially with some of the fundumental changes they’ve been making

Most CLs in UE5-Main should work. This is what we use for all development across the company, so breakages aren’t common and if something is broken then it’s fixed ASAP. Maybe you have a wrong Visual Studio version or are missing some dependencies. At the moment recommended version is 17.7.x. You can check it in **Engine\Source\Programs\UnrealBuildTool\Platform\Windows\MicrosoftPlatformSDK.Versions.cs**.

---

<div class="post-metadata">

**Author:** ![glitchered](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glitchered/32/768299_2.png) [@glitchered](https://forums.unrealengine.com/u/glitchered)\
**Post date:** [January 17, 2024, 9:19pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1522 "2024-01-17T21:19:47Z")

</div>

no dlss, atm (i’m not pro enough to fix it, rn)… but we we building shaders. and use a humble amount of space. all good. 👍

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/2/d92fa6603b1feb7f11cb780e334b917aee2bf00c.jpeg)

let’s see what you done the past months.

---

<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:** [January 18, 2024, 12:42am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1523 "2024-01-18T00:42:46Z")

</div>

Thank you! I’m going to look into this. I’m not going to claim to really know what I’m doing, so all of the help and education is very much appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [January 18, 2024, 12:57pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1524 "2024-01-18T12:57:46Z")

</div>

> [@Miguel1900](#):
>
> tested stochastic and it’s so promising

Where do you enable it in 5.4 (github version)? Just made a new build and can’t find it.

I did notice in this 5.4 version though, when using Lumen and VR (openXR), in one eye the reflections are glitching / flickering all the time. Crossing fingers this gets fixed before the official 5.4.0 release. Can’t report this in the bugtracker until then (or…?)

---

<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:** [January 18, 2024, 2:09pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1525 "2024-01-18T14:09:12Z")

</div>

Just search for a cvar called something like stochastic enable. If you can’t, I will find it later.

PD: Reflections in one eye (I don’t remeber well, but the right one?) are broken since UE5.0 :(. [Already reported](https://forums.unrealengine.com/t/please-epic-solve-vr-glitches-and-bugs/1322793) months ago (and some other bugs too), but nobody cares.

---

<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:** [January 18, 2024, 3:28pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1526 "2024-01-18T15:28:49Z")

</div>

> [@Miguel1900](#):
>
> it will be more noticeable in thin objects’ shadows

AFAIK, Stochastic shadows are meant as a supplementary shadowing method for non-hero lights, so it makes sense that you’re seeing speed be prioritized over quality. I’d imagine that hero lights would be employing VSMs or the similar, because the lack of quality is quite noticable.

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

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