# Realtime Dynamic GI + Reflections + AO + Emissive - AHR

**URL:** <https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [September 24, 2014, 1:58am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923 "2014-09-24T01:58:17Z")\
**Posts on this page:** 20\
**Page:** 27

<div class="post-metadata">

**Author:** ![Blue\_man](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blue\_man](https://forums.unrealengine.com/u/Blue_man)\
**Post date:** [May 20, 2015, 10:41am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/529 "2015-05-20T10:41:24Z")

</div>

I made all assets in blender,tomorrow I will import assets in ue 4 and set up the scene.I will post download link here.

---

<div class="post-metadata">

**Author:** ![RyanTorant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTorant](https://forums.unrealengine.com/u/RyanTorant)\
**Post date:** [May 20, 2015, 11:39pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/530 "2015-05-20T23:39:01Z")

</div>

> [@Blue man;295602](#):
>
> I made all assets in blender,tomorrow I will import assets in ue 4 and set up the scene.I will post download link here.

man! Will push the commit today, with the tweak options. Also, reflections from not lit stuff is making a comeback, had it disabled for a while, will re-enable it now.  
EDIT: The tweak options are already there, check them out. The reflection thing might take a bit longer, but will probably be tomorrow.

---

<div class="post-metadata">

**Author:** ![Blue\_man](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blue\_man](https://forums.unrealengine.com/u/Blue_man)\
**Post date:** [May 21, 2015, 1:29am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/532 "2015-05-21T01:29:27Z")

</div>

> [@;296135](#):
>
> man! Will push the commit today, with the tweak options. Also, reflections from not lit stuff is making a comeback, had it disabled for a while, will re-enable it now.  
> EDIT: The tweak options are already there, check them out. The reflection thing might take a bit longer, but will probably be tomorrow.

,new toy to play with. 🙂

---

<div class="post-metadata">

**Author:** ![RyanTorant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTorant](https://forums.unrealengine.com/u/RyanTorant)\
**Post date:** [May 21, 2015, 10:46pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/533 "2015-05-21T22:46:30Z")

</div>

Hey people, got some screens for the ones wanting a AHR vs VXGI comparaison  
Well, took a test at the new VXGI build, loaded the sci fi hallway scene, and while it looked quite good, was surprised by the perfomance, or the lack of it really 😉  
Here are some screens of that scene in VXGI and AHR:  
**AHR**  
[http://i.imgur.com/nH9N358.png](http://imgur.com/nH9N358)  
**VXGI**  
[http://i.imgur.com/weMfwJ3.png](http://imgur.com/weMfwJ3)  
I do recognize that VXGI looks better here, but keep in mind that is quite a stressful scene for AHR quality, as the normal maps are mostly flat, and I count on them to break the noise. I’m thinking of doing something as micro-variations of the normal based on roughness. We are using a microfacets model after all…  
Really need to work on improving the bilateral blur, looks quite bad, too much bleeding. Not sure why I can’t get it to work properly, that’s quite a standard thing…  
Anyway, got some thinks on the pipeline to improve quality and performance. One of them is something I have tried before, and worked quite good, but had some problems I’m yet to solve, and that is progressive refinement. In short, changing the ray kernel every frame, and if the pixel haven’t moved, use the prev results. That has the direct effect of increasing the ray count. With a few frames, you can increase it quite a bit and still have a dynamic scene, but there are some subtleties that I need to address.  
The other thing is something I like to call “Weighed Bicubic Push-Pull”. It’s the good ol’ push-pull upsampling, but modified so that it uses bicubic filtering on the push phase and takes into account depth discontinuities. The idea with that is to not compute some random pixels on the screen, and then use that filter to fill the empty spaces. idea it’s something of a long shot compared to the others, but we’ll see.

---

<div class="post-metadata">

**Author:** ![diegor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@diegor](https://forums.unrealengine.com/u/diegor)\
**Post date:** [May 22, 2015, 2:55am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/534 "2015-05-22T02:55:55Z")

</div>

you are just begining to optimize ahr and it is already considerably faster than vxgi :eek:.

---

<div class="post-metadata">

**Author:** ![RyanTorant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTorant](https://forums.unrealengine.com/u/RyanTorant)\
**Post date:** [May 22, 2015, 3:30am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/535 "2015-05-22T03:30:04Z")

</div>

> [@diegor;297002](#):
>
> you are just begining to optimize ahr and it is already considerably faster than vxgi :eek:.

just doing my best 😉

---

<div class="post-metadata">

**Author:** ![Blue\_man](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blue\_man](https://forums.unrealengine.com/u/Blue_man)\
**Post date:** [May 22, 2015, 5:53pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/537 "2015-05-22T17:53:38Z")

</div>

I am still working on my scene.I can post screenshots from blender if you want, it is not the best 😛

---

<div class="post-metadata">

**Author:** ![RyanTorant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTorant](https://forums.unrealengine.com/u/RyanTorant)\
**Post date:** [May 22, 2015, 6:24pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/538 "2015-05-22T18:24:26Z")

</div>

> [@Blue man;297411](#):
>
> I am still working on my scene.I can post screenshots from blender if you want, it is not the best 😛

That would be cool, want to see what you’re doing. BTW, Blender rocks \m/

---

<div class="post-metadata">

**Author:** ![Blue\_man](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blue\_man](https://forums.unrealengine.com/u/Blue_man)\
**Post date:** [May 22, 2015, 7:58pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/539 "2015-05-22T19:58:55Z")

</div>

No roof yet.  
[![](https://i.imgur.com/2FafN2S.png?1) ](https://i.imgur.com/2FafN2S.png?1)  
[![](https://i.imgur.com/bIolaJJ.png?1) ](https://i.imgur.com/bIolaJJ.png?1)  
[![](https://i.imgur.com/onoYxsR.png?1) ](https://i.imgur.com/onoYxsR.png?1)  
[![](https://i.imgur.com/3M6Rv8c.png?1) ](https://i.imgur.com/3M6Rv8c.png?1)  
[![Imgur](https://i.imgur.com/2FafN2S.png "imgur.com") ](https://imgur.com/2FafN2S&bIolaJJ&onoYxsR&3M6Rv8c#0)

---

<div class="post-metadata">

**Author:** ![RyanTorant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTorant](https://forums.unrealengine.com/u/RyanTorant)\
**Post date:** [May 22, 2015, 8:14pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/540 "2015-05-22T20:14:50Z")

</div>

> [@Blue man;297490](#):
>
> No roof yet.  
> [http://i.imgur.com/2FafN2S.png?1](http://i.imgur.com/2FafN2S.png?1)  
> [http://i.imgur.com/bIolaJJ.png?1](http://i.imgur.com/bIolaJJ.png?1)  
> [http://i.imgur.com/onoYxsR.png?1](http://i.imgur.com/onoYxsR.png?1)  
> [http://i.imgur.com/3M6Rv8c.png?1](http://i.imgur.com/3M6Rv8c.png?1)  
> [Imgur: The magic of the Internet](http://imgur.com/2FafN2S&bIolaJJ&onoYxsR&3M6Rv8c#0)

Looking really good! As a tip, AHR produces better results for rough surfaces, and also try to use normal maps, will help break the noise.

---

<div class="post-metadata">

**Author:** ![Blue\_man](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blue\_man](https://forums.unrealengine.com/u/Blue_man)\
**Post date:** [May 22, 2015, 8:56pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/541 "2015-05-22T20:56:40Z")

</div>

> [@;297498](#):
>
> Looking really good! As a tip, AHR produces better results for rough surfaces, and also try to use normal maps, will help break the noise.

Thank you!

---

<div class="post-metadata">

**Author:** ![diegor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@diegor](https://forums.unrealengine.com/u/diegor)\
**Post date:** [May 23, 2015, 1:22am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/542 "2015-05-23T01:22:35Z")

</div>

You should read tomorrows children research paper now that you are focusing on optimizations ,since theirs are already tested and may clash with yours if you try to implement them too late .

[http://fumufumu.q-games.com/archives/TheTechnologyOfTomorrowsChildrenFinal.pdf](http://fumufumu.q-games.com/archives/TheTechnologyOfTomorrowsChildrenFinal.pdf)

---

<div class="post-metadata">

**Author:** ![heartlessphil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@heartlessphil](https://forums.unrealengine.com/u/heartlessphil)\
**Post date:** [May 23, 2015, 3:55am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/543 "2015-05-23T03:55:23Z")

</div>

> [@;296917](#):
>
> Hey people, got some screens for the ones wanting a AHR vs VXGI comparaison  
> Well, took a test at the new VXGI build, loaded the sci fi hallway scene, and while it looked quite good, was surprised by the perfomance, or the lack of it really 😉  
> Here are some screens of that scene in VXGI and AHR:  
> **AHR**  
> [http://i.imgur.com/nH9N358.png](http://imgur.com/nH9N358)  
> **VXGI**  
> [http://i.imgur.com/weMfwJ3.png](http://imgur.com/weMfwJ3)  
> I do recognize that VXGI looks better here, but keep in mind that is quite a stressful scene for AHR quality, as the normal maps are mostly flat, and I count on them to break the noise. I’m thinking of doing something as micro-variations of the normal based on roughness. We are using a microfacets model after all…  
> Really need to work on improving the bilateral blur, looks quite bad, too much bleeding. Not sure why I can’t get it to work properly, that’s quite a standard thing…  
> Anyway, got some thinks on the pipeline to improve quality and performance. One of them is something I have tried before, and worked quite good, but had some problems I’m yet to solve, and that is progressive refinement. In short, changing the ray kernel every frame, and if the pixel haven’t moved, use the prev results. That has the direct effect of increasing the ray count. With a few frames, you can increase it quite a bit and still have a dynamic scene, but there are some subtleties that I need to address.  
> The other thing is something I like to call “Weighed Bicubic Push-Pull”. It’s the good ol’ push-pull upsampling, but modified so that it uses bicubic filtering on the push phase and takes into account depth discontinuities. The idea with that is to not compute some random pixels on the screen, and then use that filter to fill the empty spaces. idea it’s something of a long shot compared to the others, but we’ll see.

I get 79 fps in that scene with vxgi with my gtx 980 🙂 If your card isn’t a 9xx that’s why the performance is bad.

---

<div class="post-metadata">

**Author:** ![RyanTorant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTorant](https://forums.unrealengine.com/u/RyanTorant)\
**Post date:** [May 23, 2015, 12:16pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/544 "2015-05-23T12:16:33Z")

</div>

> [@heartlessphil;297674](#):
>
> I get 79 fps in that scene with vxgi with my gtx 980 🙂 If your card isn’t a 9xx that’s why the performance is bad.

Sure, my card is a budget one ( GTX 750 Ti) but consider there’s a 3 times difference. Not sure how it will hold up, but a while back when a friend tried a Titan Black with my demo scene (not UE) it ran about 10 times faster. 79 is about 8 times faster than my FPS with VXGI, so it’s likely that will hold up. Not saying it will still be 3 times faster, but will probably be faster. If you could try it and post results?

---

<div class="post-metadata">

**Author:** ![RyanTorant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTorant](https://forums.unrealengine.com/u/RyanTorant)\
**Post date:** [May 23, 2015, 12:17pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/545 "2015-05-23T12:17:57Z")

</div>

> [@diegor;297641](#):
>
> You should read tomorrows children research paper now that you are focusing on optimizations ,since theirs are already tested and may clash with yours if you try to implement them too late .
> 
> [http://fumufumu.q-games.com/archives/TheTechnologyOfTomorrowsChildrenFinal.pdf](http://fumufumu.q-games.com/archives/TheTechnologyOfTomorrowsChildrenFinal.pdf)

I took a look at it a while back, but will see it again now, it has some interesting stuff.  
EDIT: Seems to be a newer paper. Even more interesting, nice catch

---

<div class="post-metadata">

**Author:** ![sleepingdragon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sleepingdragon](https://forums.unrealengine.com/u/sleepingdragon)\
**Post date:** [May 23, 2015, 2:18pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/546 "2015-05-23T14:18:42Z")

</div>

thank you:)

---

<div class="post-metadata">

**Author:** ![Blue\_man](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blue\_man](https://forums.unrealengine.com/u/Blue_man)\
**Post date:** [May 23, 2015, 6:50pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/547 "2015-05-23T18:50:21Z")

</div>

I just replaced engine folder and I got a bunch of errors. [http://imgur.com/GWvpIMd](http://imgur.com/GWvpIMd)

---

<div class="post-metadata">

**Author:** ![Blue\_man](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blue\_man](https://forums.unrealengine.com/u/Blue_man)\
**Post date:** [May 23, 2015, 6:57pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/548 "2015-05-23T18:57:55Z")

</div>

> [@Blue man;297949](#):
>
> I just replaced engine folder and I got a bunch of errors. [http://imgur.com/GWvpIMd](http://imgur.com/GWvpIMd)

I just needed to do . 😛[http://imgur.com/5ZWwSWU](http://imgur.com/5ZWwSWU)

---

<div class="post-metadata">

**Author:** ![RyanTorant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTorant](https://forums.unrealengine.com/u/RyanTorant)\
**Post date:** [May 23, 2015, 7:53pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/549 "2015-05-23T19:53:44Z")

</div>

> [@Blue man;297954](#):
>
> I just needed to do . 😛[http://imgur.com/5ZWwSWU](http://imgur.com/5ZWwSWU)

Strange, but if it worked…

---

<div class="post-metadata">

**Author:** ![Blue\_man](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blue\_man](https://forums.unrealengine.com/u/Blue_man)\
**Post date:** [May 23, 2015, 10:54pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/550 "2015-05-23T22:54:21Z")

</div>

I just don t know what is .  
[![Imgur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/1/c21763c82fd4743d7628014239295776c44a5662.png "imgur.com") ](https://imgur.com/mypYz5Y)

[Previous page](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923.md?page=26)

[Next page](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923.md?page=28)
