# Raytracing was merged into Dev-Rendering!

**URL:** <https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [December 20, 2018, 9:04am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205 "2018-12-20T09:04:29Z")\
**Posts on this page:** 20\
**Page:** 10

<div class="post-metadata">

**Author:** ![TommyBear](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TommyBear](https://forums.unrealengine.com/u/TommyBear)\
**Post date:** [February 7, 2019, 10:41pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/182 "2019-02-07T22:41:30Z")

</div>

> [@kalakus](#):
>
> Thanks Tommy, what about GI?

Everything we are discussing here is based on DXR (DirectX Raytracing API). UE4 raytracing is based on this, with an alternate path using Vulkan(with card OEM extensions). Therefore, if your card does not support the Ray Tracing features of DXR, all this stuff will not work.

I know not everyone is made of money or can afford new HW, but Nvidia’s RTX based HW is now selling for as little as $349 US for the 2060, all the way to $1200 US for the 2080 TI. So you have some options if you want to explore ray tracing with UE4.

It makes little to no sense have RT available as a custom CPU/GPU solution for UE4, considering the HW will be widespread within a year (and will be cheaper and faster). Best to buy the HW or wait to see if your GPU vendor supports it as a patch to existing drivers somehow.

---

<div class="post-metadata">

**Author:** ![Leo\_Rakes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Leo\_Rakes](https://forums.unrealengine.com/u/Leo_Rakes)\
**Post date:** [February 8, 2019, 3:05am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/183 "2019-02-08T03:05:34Z")

</div>

> [@NilsonLima](#):
>
> I have found this video at Youtube, shows some translucency material:
> 
> [https://youtube.com/watch?v=ocZrg3yIGjo](https://youtube.com/watch?v=ocZrg3yIGjo)

Translucency looks great, as we saw in SpeedLight DEMO. If Mask and Foliage and HISM can be supported, Landscape can be supported, then we can start to use DXR technology in 4.22.

---

<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:** [February 8, 2019, 4:28am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/184 "2019-02-08T04:28:13Z")

</div>

That’s not raytraced translucency. It’s a (still very nice) shader sampling a cube render texture: [https://i.imgur.com/kvHlUyb.jpg](https://i.imgur.com/kvHlUyb.jpg)

The real benefit of raytraced translucency is that it’ll wipe the slate clean of all of the existing buggy UE translucency stuff. It should look pretty close to what we saw above though.

---

<div class="post-metadata">

**Author:** ![ITA333](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ITA333](https://forums.unrealengine.com/u/ITA333)\
**Post date:** [February 8, 2019, 3:24pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/185 "2019-02-08T15:24:14Z")

</div>

I try activate raytraced translucency , with console command, but every time crash system.  
(r.RayTracing.Translucency 1).

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [February 8, 2019, 4:12pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/186 "2019-02-08T16:12:20Z")

</div>

> [@NilsonLima](#):
>
> Aye, agree that baking is practical, but I don’t know how the tech will do this faster or better… if someone says to me the once you have previewed in real-time and is satisfied and with a click of a button you will get a fast baked scene with the preview settings and will take 1 min, then that’s awesome, but surely for the engine I didn’t see this being commented by Epic’s staff or that (and anything else) being on road map… would be nice to know thou.

they have rtx videos online during the reveal of the card of lightmap baking happen in unreal engine 4 in real time when u stop moving the light

---

<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:** [February 8, 2019, 4:18pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/187 "2019-02-08T16:18:15Z")

</div>

> [@kurylo3d](#):
>
> they have rtx videos online during the reveal of the card of lightmap baking happen in unreal engine 4 in real time when u stop moving the light

Please, feed us with a link! Thanks!

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [February 8, 2019, 5:54pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/188 "2019-02-08T17:54:38Z")

</div>

> [@NilsonLima](#):
>
> Please, feed us with a link! Thanks!

[https://youtu.be/tjf-1BxpR9c?t=411](https://youtu.be/tjf-1BxpR9c?t=411)

---

<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:** [February 8, 2019, 6:49pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/189 "2019-02-08T18:49:59Z")

</div>

> [@kurylo3d](#):
>
> [https://youtu.be/tjf-1BxpR9c?t=411](https://youtu.be/tjf-1BxpR9c?t=411)

Hmm. but that is not the implementation we are discussing here. I see that it is running on NVidia’s branch for GameWorks… I gotta check that, but I don’t think it is released already, there is a long time I don’t mess with GameWorks.

Btw, at that specific timeline, we can see several black artifacts in the distant background scene, maybe those are result of a lack of tweaking in the scene, and probably is, but so far I am really looking have some info from Epic staff about the implementation we will use from Epic instead of that one with GameWorks.

Maybe someone watching this thread and messing with GameWorks could confirm this is released to the public already?

Thanks for the link!

---

<div class="post-metadata">

**Author:** ![Manoel.Neto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/manoel.neto/32/1210013_2.png) [@Manoel.Neto](https://forums.unrealengine.com/u/Manoel.Neto)\
**Post date:** [February 8, 2019, 7:33pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/190 "2019-02-08T19:33:30Z")

</div>

> [@NilsonLima](#):
>
> Aye, agree that baking is practical, but I don’t know how the tech will do this faster or better… if someone says to me the once you have previewed in real-time and is satisfied and with a click of a button you will get a fast baked scene with the preview settings and will take 1 min, then that’s awesome, but surely for the engine I didn’t see this being commented by Epic’s staff or that (and anything else) being on road map… would be nice to know thou.

Lightmass baking is pretty much all about tracing a huge amount of rays. The RTX cards have hardware accelerated raytracing. Obviously, a Lightmass implementation using DXR would be, at the very least, 100x faster.

---

<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:** [February 9, 2019, 5:34am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/191 "2019-02-09T05:34:10Z")

</div>

Firstly, you wouldn’t want RTX results going into a lightmap. They’re nice, but at the same time they’re not that good and are still just a general estimate of how real light would look. Their entire upsell is in the “realtime” part. So that means you have to run a better looking offline renderer on the GPU. Right now that means path tracing.

For a while I was working on a GPU accelerated path-traced lightmass replacement for UE. Not only was progress difficult, the results weren’t all that great unless you spent a week rendering your lighting. That product made it into Unity in a different form where I believe it’s still just a viewport renderer.

People underestimate just how much work is done when you bake the lighting for a level. It’s hundreds of thousands of times more work than simply raytracing a scene to a viewport, realtime or not. To get a good result from path tracing you either spend more time building the lightmap (even with GPU acceleration) than you ever world running lightmass, or you rely on a denoiser, something that has really only just appeared on the scene. And the denoiser is part of why RTX results aren’t worth pushing into an offline lightmap. In the next couple of graphics card generations realtime graphics like this are very quickly going to reach a point where the denoiser is both obvious and the results are not good enough. It is a temporary solution.

Hopefully RTX gives Epic enough tools to write a CUDA version of lightmass, but I’d wait and see what they say about that as it could easily go either 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:** [February 9, 2019, 5:37am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/192 "2019-02-09T05:37:36Z")

</div>

> [@NilsonLima](#):
>
> Hmm. but that is not the implementation we are discussing here. I see that it is running on NVidia’s branch for GameWorks… I gotta check that, but I don’t think it is released already, there is a long time I don’t mess with GameWorks.
> 
> Btw, at that specific timeline, we can see several black artifacts in the distant background scene, maybe those are result of a lack of tweaking in the scene, and probably is, but so far I am really looking have some info from Epic staff about the implementation we will use from Epic instead of that one with GameWorks.
> 
> Maybe someone watching this thread and messing with GameWorks could confirm this is released to the public already?
> 
> Thanks for the link!

That was probably shadow caching.

---

<div class="post-metadata">

**Author:** ![Nocturness](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nocturness](https://forums.unrealengine.com/u/Nocturness)\
**Post date:** [February 9, 2019, 1:52pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/193 "2019-02-09T13:52:55Z")

</div>

when will come

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/c/4ac8abd4f47e5ec5f290dabeb5f62874febc09b6.jpeg "NVIDIA RTX - The Creative Freedom You Imagined") ](https://www.youtube.com/watch?v=MRZiya1DW3c)

---

<div class="post-metadata">

**Author:** ![overfuze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@overfuze](https://forums.unrealengine.com/u/overfuze)\
**Post date:** [February 9, 2019, 2:38pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/194 "2019-02-09T14:38:40Z")

</div>

Here are the tests with reflection multibounce, its fast but visually really dissapointing (for now), the reflections only seem to reflect the reflections and the indirect baked lighting (from skylight, etc), no dynamic shadows or AO at all…

[![](https://cdn.discordapp.com/attachments/206114787673767936/543460972686344236/unknown.png) ](https://cdn.discordapp.com/attachments/206114787673767936/543460972686344236/unknown.png)

[![](https://cdn.discordapp.com/attachments/206114787673767936/543461659830648843/unknown.png) ](https://cdn.discordapp.com/attachments/206114787673767936/543461659830648843/unknown.png)

---

<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:** [February 9, 2019, 10:50pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/195 "2019-02-09T22:50:30Z")

</div>

> [@Antidamage](#):
>
> Firstly, you wouldn’t want RTX results going into a lightmap. They’re nice, but at the same time they’re not that good and are still just a general estimate of how real light would look. Their entire upsell is in the “realtime” part. So that means you have to run a better looking offline renderer on the GPU. Right now that means path tracing.
> 
> For a while I was working on a GPU accelerated path-traced lightmass replacement for UE. Not only was progress difficult, the results weren’t all that great unless you spent a week rendering your lighting. That product made it into Unity in a different form where I believe it’s still just a viewport renderer.
> 
> People underestimate just how much work is done when you bake the lighting for a level. It’s hundreds of thousands of times more work than simply raytracing a scene to a viewport, realtime or not. To get a good result from path tracing you either spend more time building the lightmap (even with GPU acceleration) than you ever world running lightmass, or you rely on a denoiser, something that has really only just appeared on the scene. And the denoiser is part of why RTX results aren’t worth pushing into an offline lightmap. In the next couple of graphics card generations realtime graphics like this are very quickly going to reach a point where the denoiser is both obvious and the results are not good enough. It is a temporary solution.
> 
> Hopefully RTX gives Epic enough tools to write a CUDA version of lightmass, but I’d wait and see what they say about that as it could easily go either way.

Well it won’t be on CUDA, because that’s Nvidia specific. Nor will the new lightmapper be RTX specific, instead it appears to be some accelerated raytracer that doesn’t rely on final gather (one hopes).

I would expect that, at some point and quite possibly right out the gate, the lightmapper will get DXR support, possibly for previews, baking, or both. RTX is, again, Nvidia’s buzzword for Microsoft’s DXR standard. The DXR standard does however bring many nicities for raytracing, and RTX’s fixed function BHV block will probably be supported as well.

---

<div class="post-metadata">

**Author:** ![Nocturness](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nocturness](https://forums.unrealengine.com/u/Nocturness)\
**Post date:** [February 10, 2019, 12:00am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/196 "2019-02-10T00:00:23Z")

</div>

another test.  
i think denoiser works buggy now. sky gi sample and bounce values(evalsky on) do not make a significant difference when denoiser is on.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/f/4df9509b4bb12dad8415639be50367879be30006.jpeg "UE4 DXR RTGI (devrendering) Corvette Sequencer test") ](https://www.youtube.com/watch?v=9vskh8UT1i4)

---

<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:** [February 10, 2019, 1:33am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/197 "2019-02-10T01:33:03Z")

</div>

> [@Frenetic\_Pony](#):
>
> Well it won’t be on CUDA, because that’s Nvidia specific. Nor will the new lightmapper be RTX specific, instead it appears to be some accelerated raytracer that doesn’t rely on final gather (one hopes).
> 
> I would expect that, at some point and quite possibly right out the gate, the lightmapper will get DXR support, possibly for previews, baking, or both. RTX is, again, Nvidia’s buzzword for Microsoft’s DXR standard. The DXR standard does however bring many nicities for raytracing, and RTX’s fixed function BHV block will probably be supported as well.

We’re using the terms interchangeably in this conversation. We know that Epic will product a platform agnostic tool eventually if it’s possible.

GPU accelerated BHV is key to this generation’s realtime raytracing performance so if there isn’t an agnostic equivalent, then yeah, it’s going to be an Nvidia-only solution until everyone else gets their act together.

---

<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:** [February 10, 2019, 1:41am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/198 "2019-02-10T01:41:20Z")

</div>

> [@Nocturness](#):
>
> another test.  
> i think denoiser works buggy now. sky gi sample and bounce values(evalsky on) do not make a significant difference when denoiser is on.  
> [https://youtube.com/watch?v=9vskh8UT1i4](https://youtube.com/watch?v=9vskh8UT1i4)

Secondary bounces usually don’t show unless you’re in an otherwise unlit room using an overly bright directional light and your exposure is turned up. At least to me. I wouldn’t notice it in an outdoor scene.

Typically your secondary bounce has the effect of lightening the entire room just a touch, with further bounces giving you a more smooth result.

---

<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:** [February 10, 2019, 5:46am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/199 "2019-02-10T05:46:42Z")

</div>

> [@Nocturness](#):
>
> another test.  
> i think denoiser works buggy now. sky gi sample and bounce values(evalsky on) do not make a significant difference when denoiser is on.  
> [https://youtube.com/watch?v=9vskh8UT1i4](https://youtube.com/watch?v=9vskh8UT1i4)

but the overall quality is really nice :)🙂

---

<div class="post-metadata">

**Author:** ![Leo\_Rakes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Leo\_Rakes](https://forums.unrealengine.com/u/Leo_Rakes)\
**Post date:** [February 10, 2019, 11:31am UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/200 "2019-02-10T11:31:31Z")

</div>

> [@Nocturness](#):
>
> another test.  
> i think denoiser works buggy now. sky gi sample and bounce values(evalsky on) do not make a significant difference when denoiser is on.  
> [https://youtube.com/watch?v=9vskh8UT1i4](https://youtube.com/watch?v=9vskh8UT1i4)

Hello, I haven’t had time to test new branches. Can Mask Material be rendered by DXR now? Now the branches look translucent and GI have entered the testing stage, but can Mask and Foliage, Landscape render normally in DXR?

---

<div class="post-metadata">

**Author:** ![The\_Distiller](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_Distiller](https://forums.unrealengine.com/u/The_Distiller)\
**Post date:** [February 10, 2019, 1:52pm UTC](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205/201 "2019-02-10T13:52:07Z")

</div>

> [@YuriyODonnell](#):
>
> That’s correct. Landscape is not implemented yet. It is unlikely to be supported before 4.23.

It has already been confirmed that landscape support won’t be in 4.22.

[Previous page](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205.md?page=9)

[Next page](https://forums.unrealengine.com/t/raytracing-was-merged-into-dev-rendering/120205.md?page=11)
