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

<div class="post-metadata">

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

</div>

There’s another document where they also talk about - ray per pixel. Seems in technical documents and videos they use this term - but in official help documentation they are not.

> **[SIGGRAPH2022-Advances-Lumen-Wright%20et%20al.pdf](https://advances.realtimerendering.com/s2022/SIGGRAPH2022-Advances-Lumen-Wright%20et%20al.pdf)**
>
> 25.80 MB

 ![Screenshot 2023-09-04 035432](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/8/d/98d186c2103a0468274c3d91a9c990c3ad6f1115.png)

---

<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:** [September 4, 2023, 1:23am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1137 "2023-09-04T01:23:04Z")

</div>

I completely agree with you, Daniel Wright did use the terms ray per pixel, and I certainly don’t mean to say I know more than him; more that, rays-per-pixel as a concept isn’t a useful way to think about performance when rays aren’t actually being traced per-pixel IMO.

This is the same scene that they showed off, at epic settings, UE5.3 (there are some lighting and exposure differences). This is a visualization of all of the rays being traced from one of the screen probes at standard settings, with stronger light appearing more opaque. This is 64 rays per probe I believe, equivelent to 2SPP.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/8/6881f35c8cee355a0e9f9e01e3ec98e91a9120c7.jpeg)

Now this is lumen’s final gather at .25, the lowest value. Notice how incredibly blotchy it is (obviously)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/b/38b3643390e5fac5f718d890c452349e9b78f549.jpeg)

Now, this is lumen’s final gather quality set to 6, the highest value. I don’t know the exact # it’s tracing off the top of my head, but it’s very big.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/1/cb17c45cefa536cf6aaf9fee2b17eee71d486f34.jpeg)

The final gather quality directly controls what could be considered samples-per-pixel (conceptually), but I’m not sure how it ties into scalability and everything else.

---

<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:** [September 4, 2023, 1:24am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1138 "2023-09-04T01:24:52Z")

</div>

I have read through and referenced this documentation multiple times, you are entirely correct that they use the term as such- I just mean to say that, for diffuse GI, rays _aren’t_ actually being traced from the Gbuffer pixels, rather from downsampled probes. It’s technical and doesn’t really matter in practice, and reflections are traced from Gbuffer pixels to my knowledge anyhoo. No offense meant.

---

<div class="post-metadata">

**Author:** ![Sebastian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sebastian](https://forums.unrealengine.com/u/Sebastian)\
**Post date:** [September 4, 2023, 1:35am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1139 "2023-09-04T01:35:40Z")

</div>

Thanks. So the final gather slider should control the mythical RPP. No cvars needed. Well that control definitely increases the quality, but I was under the impression (falsely maybe) that FG is some sort of averaging and smoothing sampling thing which will obviously help with the perceived quality, but I was hoping for high frequency details increase.

The sort of details you think about when you hear the word “rays” . Sort of an equivalent to the path trace or raytrace rays. But I guess they used “rays” as a sort of “equivalent” concept ?

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [September 4, 2023, 8:57am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1141 "2023-09-04T08:57:33Z")

</div>

It’s a ray in that it’s a line with a definitive terminus (the camera) and drawn into the scene, like an arrow). By definition that’s a ray, not a line-segment (with two ends) or a line (goes on forever in each direction). It’s like when we say transform vs rotation or scaling; the context is giving you additional information.

Yes, I am being pedantic, and no not trying to be a jerk. It’s just a terminology thing… You start here and go on for a distance (potentially forever, hence the line-ish/ray part).

If it’s hardware supported, it would depend on what data-structure it’s being pushed through. Might not be something serviceable on a card.

---

<div class="post-metadata">

**Author:** ![Farshid](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/farshid/32/874107_2.png) [@Farshid](https://forums.unrealengine.com/u/Farshid)\
**Post date:** [September 4, 2023, 2:07pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1142 "2023-09-04T14:07:13Z")

</div>

D5 is software based on unreal raytracing  
it has glass caustics

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/a/5ea3009028ee7f54f9dbb97ccd95ffc9a0636197.jpeg "d5 caustics") ](https://www.youtube.com/watch?v=5p2PuMTuMqA)

why we dont have perfect glass caustics in lumen and ue5?

---

<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:** [September 4, 2023, 2:33pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1143 "2023-09-04T14:33:12Z")

</div>

Wow, I didn’t know D5 was running on unreal engine. It’s probably heavily modified though, no?

---

<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 4, 2023, 3:43pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1144 "2023-09-04T15:43:58Z")

</div>

Heavily modified is probably putting it mildly, it doesn’t use Lumen, it uses a surfel based GI solution

---

<div class="post-metadata">

**Author:** ![Farshid](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/farshid/32/874107_2.png) [@Farshid](https://forums.unrealengine.com/u/Farshid)\
**Post date:** [September 4, 2023, 6:45pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1145 "2023-09-04T18:45:21Z")

</div>

D5 is based on UE4  
I think they are using nvidia branch not epic source code!

epic should bring better glass and caustics for us in ue5

---

<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:** [September 4, 2023, 7:57pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1146 "2023-09-04T19:57:36Z")

</div>

> why we dont have perfect glass caustics in lumen and ue5?

Because it’s not ray or path tracing. Lumen’s design mimics/fakes those true algorithms at a much faster computing rate to use them in **game production.**

---

<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:** [September 4, 2023, 9:37pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1147 "2023-09-04T21:37:18Z")

</div>

Is there good information/documentation on how D5 does what it does? I haven’t even heard of it until this thread.

---

<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:** [September 4, 2023, 9:43pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1148 "2023-09-04T21:43:16Z")

</div>

Again, yes and no. Not even path-tracers necessarily have caustics (due to the expense), and ray-tracing is just a mathematical operation at its’ core, not an algorithm per-se. Caustics are very hard to do because they break some of the assumptions that let real-time RT work efficiently in a scene: translucency means performing refraction calculation, so the light could bounce around a lot before leaving a surface, very expensive in a paradigm where even a single bounce of GI is very expensive.

Furthermore, caustics mean tracing rays from a diffuse surface, through a refracting/absorbing specular media, and to a light source. It’s extremely expensive to do, and a great deal of work has gone into making them renderable _even on offline machines._

NVRTX has real-time caustics rendering, which I’ve tested out and reviewed. It is very technically impressive but rather finicky, which may have changed in newer updates.

No matter what, I don’t think any feature of real-time RT should be taken for granted, but especially not caustics given their complexity. Support is doubtless on the way, but it will take time.

---

<div class="post-metadata">

**Author:** ![Suthriel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suthriel/32/1195643_2.png) [@Suthriel](https://forums.unrealengine.com/u/Suthriel)\
**Post date:** [September 4, 2023, 10:56pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1149 "2023-09-04T22:56:26Z")

</div>

i wonder, if they use some fake caustics or approximations based on the normals of the selected materials, and made a more convinient version of their older way of realizing/faking caustics.

> **[How to make caustic for water](https://forum.d5render.com/t/how-to-make-caustic-for-water/15885)**
>
> At present, D5 does not support the direct use of water caustic effect, but you can use the “projector” function and apply the saved water model to the “video” to achieve the water caustic effect. Download the assets here: （this topic needs...

is there any chance to compare the caustics that D5 generates with a specific model with a render made with some offline render with the same model etc.?  
I don´t mind good fakes, because most probably couldn´t tell the difference, especially, if they happen in real time and are constantly changing ^.^

---

<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 4, 2023, 11:19pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1150 "2023-09-04T23:19:46Z")

</div>

There’s a [high level overview of how the GI is done](https://www.d5render.com/post/d5-render-global-illumination) but I couldn’t find any useful info about translucent caustics

Edit: Some (but not much) info about their caustics here: [Realistic Shimmering Lighting: Real-time Caustics in D5 Render](https://www.d5render.com/posts/caustics-in-render)

---

<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:** [September 5, 2023, 1:56am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1151 "2023-09-05T01:56:30Z")

</div>

Given that their GI looks like a mashup of GIBS (Global Illumination Based on Surfels, Frostbite’s work) and ReSTIR, I wouldn’t be surprised if they heavily borrowed from Nvidia’s real-time caustics implementation. It sounds like world-space photon mapping with screen-space splatting, which is Nvidia’s implementation more or less.

Bottom line, the quality is definitely quite impressive, and the combination of ReSTIR with surfel caching is clever.It definitely makes sense that a dedicated rendering system can support more advanced features easier than a game engine with a gigantic codebase.

---

<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:** [September 5, 2023, 1:59am UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1152 "2023-09-05T01:59:54Z")

</div>

> [@Suthriel](#):
>
> i wonder, if they use some fake caustics or approximations based on the normals of the selected materials, and made a more convinient version of their older way of realizing/faking caustics.

Epic or D5? Epic has a caustics baker in their water plugin that’s actually quite good. Caustics approximations in general have existed as long as there’s been attempts at water rendering, but most of them are crude tiling textures or light pattern trickery.

Nvidia’s real-time implementation is a little special, because it’s sort of similar to what lumen does in GI: they actually are performing photon mapping and getting information on how light would reflect and refract, but they’re accumulating, filtering, and reprojecting it in a way that’s more complex than path-tracing. It uses a lot of rasterization, but the end result is pretty exceptional and close to the ground truth.

---

<div class="post-metadata">

**Author:** ![Anonymous\_1e7db6e38aeac73dc6259a0f8c4444e8](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/anonymous_1e7db6e38aeac73dc6259a0f8c4444e8/32/745265_2.png) [@Anonymous\_1e7db6e38aeac73dc6259a0f8c4444e8](https://forums.unrealengine.com/u/Anonymous_1e7db6e38aeac73dc6259a0f8c4444e8)\
**Post date:** [September 5, 2023, 1:37pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1153 "2023-09-05T13:37:57Z")

</div>

Yes, I have been using hardware ray tracing to obtain reflections, but the rendering speed has dropped significantly compared with Lumen.

And worryingly, hardware ray tracing is marked as obsolete, I don’t know if I can keep using it.

Another confusing thing is that although hardware ray tracing is marked as abolished, UE5.2 still updates the function of hardware ray 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 5, 2023, 1:57pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1154 "2023-09-05T13:57:23Z")

</div>

> [@Anonymous\_1e7db6e38aeac73dc6259a0f8c4444e8](#):
>
> And worryingly, hardware ray tracing is marked as obsolete

Hardware raytracing is not obsolete, the engine has many different hardware raytracing features (they can even be used for particle collision in Niagara), certain ones are being deprecated because they are made redundant by Lumens hardware raytracing.

You should be using the “Use Hardware Raytracing if Available” setting in the Lumen section of the project settings, not the deprecated features.

---

<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:** [September 5, 2023, 3:22pm UTC](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/1155 "2023-09-05T15:22:29Z")

</div>

Even though lumen uses hardware ray-tracing, it has a far more efficient implementation than the ‘standalone’ RT behavior. Smaller payload, more efficient traversal and culling, host of other things. Comparing standalone RT to lumen RT is apples and oranges, but you’d definitely get better performance out of lumen by and large.

---

<div class="post-metadata">

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

</div>

> [@jblackwell](#):
>
> aring standalone RT to lumen RT is apples and oranges, but you’d definitely get better performance out of lumen by and large.

Thanks for the Restir GI and SER optimization on driver side, the demo I showed you is actually based on ‘standalone’ RT but significantly higher quality and perform much better.

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

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