# Ray Tracing Overview - Unreal Engine 4.22 Preview

**URL:** <https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [March 1, 2019, 7:06pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017 "2019-03-01T19:06:43Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![etiles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@etiles](https://forums.unrealengine.com/u/etiles)\
**Post date:** [March 12, 2019, 4:18pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/23 "2019-03-12T16:18:23Z")

</div>

r.RayTracing.SkyLight give very noisy results. Is there any plan to add a denoiser for the Skylight to avoid using height SPP values?  
By the way, what’s th purpose of r.RayTracing.SkyLight.Sampling.StopLevel ?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Meian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Meian](https://forums.unrealengine.com/u/Meian)\
**Post date:** [March 13, 2019, 11:14am UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/24 "2019-03-13T11:14:29Z")

</div>

Hi,  
I know that Ue4 doesn’t support multiple gpu yet, but since Ue4 using the DXR functionalities (and not nvidia rtx), is Ue4 asking DirectX for all available tensors and rt cores or is it only restricted the main display gpu ?  
Nvidia Nvlink should make tensors cores and Rt cores “merged” for the DXR functions right ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f689bf281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f689bf281](https://forums.unrealengine.com/u/anonymous_user_f689bf281)\
**Post date:** [March 13, 2019, 11:40am UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/25 "2019-03-13T11:40:18Z")

</div>

> [@etiles](#):
>
> r.RayTracing.SkyLight give very noisy results. Is there any plan to add a denoiser for the Skylight to avoid using height SPP values?  
> By the way, what’s th purpose of r.RayTracing.SkyLight.Sampling.StopLevel ?  
> Thanks!

Try r.RayTracing.GlobalIllumination.Denoiser = 1 as you see in PDF in begin of this topic.

---

<div class="post-metadata">

**Author:** ![Antidamage](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antidamage/32/918692_2.png) [@Antidamage](https://forums.unrealengine.com/u/Antidamage)\
**Post date:** [March 13, 2019, 9:08pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/26 "2019-03-13T21:08:39Z")

</div>

> [@anonymous\_user\_f689bf281](#):
>
> Try r.RayTracing.GlobalIllumination.Denoiser = 1 as you see in PDF in begin of this topic.

I believe it’s on by default, it’s just not doing as good a job as the other denoisers. Could just be that we don’t have a version that was fully trained yet.

---

<div class="post-metadata">

**Author:** ![etiles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@etiles](https://forums.unrealengine.com/u/etiles)\
**Post date:** [March 14, 2019, 11:01am UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/27 "2019-03-14T11:01:44Z")

</div>

@EA_Unreal_77 Yes, the GI denoiser is already set to 1!

---

<div class="post-metadata">

**Author:** ![Antidamage](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antidamage/32/918692_2.png) [@Antidamage](https://forums.unrealengine.com/u/Antidamage)\
**Post date:** [March 14, 2019, 11:21am UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/28 "2019-03-14T11:21:06Z")

</div>

People have mentioned translucency several times and I really hope we see translucency-altered shadows next, even if they’re an approximation.

---

<div class="post-metadata">

**Author:** ![salm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@salm](https://forums.unrealengine.com/u/salm)\
**Post date:** [March 14, 2019, 12:28pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/29 "2019-03-14T12:28:52Z")

</div>

I’m also missing the viewport Ray Trace menu. I followed all the steps in the pdf, and r.raytrace is on. What could I be missing?

Preview 5, by the way.

---

<div class="post-metadata">

**Author:** ![Antidamage](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antidamage/32/918692_2.png) [@Antidamage](https://forums.unrealengine.com/u/Antidamage)\
**Post date:** [March 15, 2019, 3:06am UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/30 "2019-03-15T03:06:27Z")

</div>

After doing the -DX12 step, the easiest way to configure it is to go to the project settings and type “skin cache” into the filter box and enable that, then “raytracing”. Then you’re guaranteed for the settings to be written to the right .ini file.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f689bf281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f689bf281](https://forums.unrealengine.com/u/anonymous_user_f689bf281)\
**Post date:** [March 15, 2019, 4:40pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/31 "2019-03-15T16:40:31Z")

</div>

> [@etiles](#):
>
> @anonymous_user_f689bf281 Yes, the GI denoiser is already set to 1!

Show me your viewport.

---

<div class="post-metadata">

**Author:** ![akaravias](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@akaravias](https://forums.unrealengine.com/u/akaravias)\
**Post date:** [March 16, 2019, 8:23pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/32 "2019-03-16T20:23:48Z")

</div>

My problem was to do with not having latest drivers btw. The guide i was following was a little old and specified drivers for an older preview.

---

<div class="post-metadata">

**Author:** ![Antidamage](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antidamage/32/918692_2.png) [@Antidamage](https://forums.unrealengine.com/u/Antidamage)\
**Post date:** [March 16, 2019, 10:20pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/33 "2019-03-16T22:20:39Z")

</div>

Always use the latest drivers, that’s what the latest UE is built on at time of release.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_58d3326a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_58d3326a](https://forums.unrealengine.com/u/anonymous_user_58d3326a)\
**Post date:** [March 16, 2019, 11:10pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/34 "2019-03-16T23:10:53Z")

</div>

[h=1]My EPIC menu shows 4.21.2 , anyone have 4.22 on there EPIC menu

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f689bf281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f689bf281](https://forums.unrealengine.com/u/anonymous_user_f689bf281)\
**Post date:** [March 17, 2019, 8:55am UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/35 "2019-03-17T08:55:04Z")

</div>

> [@anonymous\_user\_58d3326a](#):
>
> [h=1]My EPIC menu shows 4.21.2 , anyone have 4.22 on there EPIC menu

Add new with + and look for triangle and list will opened.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_35345670](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_35345670](https://forums.unrealengine.com/u/anonymous_user_35345670)\
**Post date:** [March 17, 2019, 8:03pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/36 "2019-03-17T20:03:58Z")

</div>

I do not believe so but can you ray trace reflections and shadows off of emission textures?

---

<div class="post-metadata">

**Author:** ![NilsonLima](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NilsonLima](https://forums.unrealengine.com/u/NilsonLima)\
**Post date:** [March 18, 2019, 11:12pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/37 "2019-03-18T23:12:58Z")

</div>

We just need the drivers update in April and be happy about it !!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/a/7/0a7d7e9ed7bc5ca4fbc918684f045c3382b21daf.jpeg "NVIDIA Enables RTX Graphics on GTX Cards, GTX 10 Gets DXR") ](https://www.youtube.com/watch?v=bfyBtGXU41I)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f689bf281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f689bf281](https://forums.unrealengine.com/u/anonymous_user_f689bf281)\
**Post date:** [March 19, 2019, 2:11pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/38 "2019-03-19T14:11:14Z")

</div>

20 FPS in Battlefield V? No, thanks! 🙂

---

<div class="post-metadata">

**Author:** ![NilsonLima](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NilsonLima](https://forums.unrealengine.com/u/NilsonLima)\
**Post date:** [March 19, 2019, 3:37pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/39 "2019-03-19T15:37:28Z")

</div>

> [@anonymous\_user\_f689bf281](#):
>
> 20 FPS in Battlefield V? No, thanks! 🙂

The good news is not for playing games, it is for gamedev where several people will be able to delay the purchase of a RTX card for much longer time and also decide for a better model for their use purposes. Until we can put our hands in the graphics driver from April there is no way to tell if this is not just a strategy from NVidia to convince people to purchase RTX because now you could see how it performs against pascal. Even for games, you would still be able to decide if you want just reflections, shadows or both, so the issue on performance would not be that great.

The key argument on NVidia’s keynote now is that RT cores just accelerate ray tracing and that it is possible to have it working on Pascal aswel. Previously they lead people to understand that without RT Cores ray tracing would not be possible. This point for what I was tired to say to everyone, that the only thing necessary was to have the features implemented at driver level and would work for any card. I thinks this move will make AMD do something about their own cards.

---

<div class="post-metadata">

**Author:** ![Antidamage](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antidamage/32/918692_2.png) [@Antidamage](https://forums.unrealengine.com/u/Antidamage)\
**Post date:** [March 20, 2019, 2:41am UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/40 "2019-03-20T02:41:41Z")

</div>

I’m actually curious as to if it means DLSS will work on Pascal cards. If so, RT isn’t entirely infeasible for games that can use DLSS to upsample.

---

<div class="post-metadata">

**Author:** ![NilsonLima](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NilsonLima](https://forums.unrealengine.com/u/NilsonLima)\
**Post date:** [March 20, 2019, 11:55am UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/41 "2019-03-20T11:55:55Z")

</div>

> [@Antidamage](#):
>
> I’m actually curious as to if it means DLSS will work on Pascal cards. If so, RT isn’t entirely infeasible for games that can use DLSS to upsample.

The DLSS (Deep Learning Super Sampling) feature can only run with Tensor Cores, so it is locked to a hardware feature, and it is not feaseble because what I will show below:

It can be understood with the slide NVidia showed with the explanation on how strong a Pascal card like GTX 1080TI would need to be to perform a Metro Exodus rendering scene at 60FPS in 1440p with RTX ON and DLSS.

 ![20190318_231322740x414.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/2/e2f602c36e49c6486519ceaa8d3c77cb6aa17912.jpeg)

And also which is the performance distribution in the RTX card to do the job per feature inside the card:

 ![20190318_2318481030x572.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/7/e74701a9913666b820fcc1ecadcabbe7b047a8bc.png)

So, the RTX cards got RT cores, INT+FLOAT and Tensor Core features that alone sum up 23 + 2 + 9 TFLOPS = 34 TFLOPS equivalent in power, so theoretically a GTX 1080TI is only able to do 10 TFLOPS from the 44 TFLOPS required. Also check in the image the peaks! That is scary!

To understand what will be delivered, you need to imagine the same scene but without DLSS, which we know will drop the framerates because there would be no performance improvement, so we can say that the RTX card is having to use more TFLOPS to do the work, so harder. The ray tracing is done mostly by the RT cores and this is what the driver update will enable, a feature that will force an equivalent of extra 23 TFLOPS, remember it is 60 FPS @ 1440p inside Metro Exodus, for a GTX 1080TI which can do 10 TFLOPS. The math doesn’t lie in this case, it would be unplayable at that resolution with RTX ON on a GTX 1080 TI, so you will need to play in Full HD probably, because at 1440p it is at 1/3 frame rates that you can with RTX OFF. (just an approximation, they show it is 18 FPS in the 1st slide)

PS: even if it was possible DLSS as a compute shader workload instead a hardware feature, it won’t finish in time to deliver the frame, so it would be just an added cost to the rendering in general.

---

<div class="post-metadata">

**Author:** ![nichaohao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nichaohao](https://forums.unrealengine.com/u/nichaohao)\
**Post date:** [March 20, 2019, 12:10pm UTC](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017/42 "2019-03-20T12:10:14Z")

</div>

do you have any project files for testing ? thx!

[Previous page](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017.md?page=1)

[Next page](https://forums.unrealengine.com/t/ray-tracing-overview-unreal-engine-4-22-preview/123017.md?page=3)
