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

<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 29, 2015, 8:43pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/571 "2015-05-29T20:43:17Z")

</div>

> [@Keiyentai;300832](#):
>
> No never can’t do school stuff! How dares you! /sarcasm also I am wondering how your guys lighting would fair on my system. Have two to test it on. One Iam on right now which is an AMD A8-3870K 3Ghz Quad (not OCed atm), 16GB DDR3 RAM, eVGA nVidia GeForceGTX660 SuperClocked 2GB and my other rig I need to finish setting up is a Intel i7950 QuadCore, 24GB DDR3 with a GeForceGTX 480Ti which I plan on using for a dedicated Physx card and the 660SC as my main. Would love to test it if you want/need input for indoor stuff. Making arena’s for our game and indoor lighting is still just not feeling right compared to UE3/UDK though could just be me overlooking something rather simple.

That should be more than enough! I used it on a GTX 750 Ti and a FX-6300 ( now switched to an i7 4790K. TBH, get about the same framerates, but compiling is so, so, so much faster). Indoor is where works better actually, so you’re more than welcome to try it 😉

---

<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 29, 2015, 8:45pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/572 "2015-05-29T20:45:24Z")

</div>

> [@Blue man;300943](#):
>
> did very good job of optimizing .

Thanks!  
And I haven’t even started optimizing… ;D

---

<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 29, 2015, 8:48pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/573 "2015-05-29T20:48:19Z")

</div>

> [@Errvald;301250](#):
>
> You could make a 100sqm volume attached to the player position. Haven’t tested it though.  
> The best option would be if added cascades to gradually reveal/hide regions.

Cascades are a tricky topic, as there is a (sometimes significant) drop in performance when you start to select which buffer you sample from inside the shader. Having different threads accessing different buffers at the same time it’s complicated. Maybe if i move to the texture pipe i might be able to do it with mips.

---

<div class="post-metadata">

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

</div>

Thanks . really sounds promising.

Also thanks Errvald. That was \*\*\*\* genius level 😃 Only using it as needed as far as needed. That should be it !

I hope I can make good demonstration one day with AHR in a large terrain !

---

<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 29, 2015, 10:10pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/575 "2015-05-29T22:10:06Z")

</div>

Welcome back !

---

<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 29, 2015, 10:28pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/576 "2015-05-29T22:28:50Z")

</div>

> [@TAN\_;301612](#):
>
> Thanks . really sounds promising.
> 
> Also thanks Errvald. That was \*\*\*\* genius level 😃 Only using it as needed as far as needed. That should be it !
> 
> I hope I can make good demonstration one day with AHR in a large terrain !

Would love to see that!

> [@Blue man;301627](#):
>
> Welcome back !

Thanks! Will try to be more active here, haven’t done much on latetly

---

<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:** [June 1, 2015, 3:03am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/577 "2015-06-01T03:03:09Z")

</div>

Just a small update. Working on reusing the prev frames to improve quality, basically get 4 times more rays at the expense of some ghosting. Still need some more work, but looking good.  
Will try to have something to show soon, stay tuned

---

<div class="post-metadata">

**Author:** ![Keiyentai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Keiyentai](https://forums.unrealengine.com/u/Keiyentai)\
**Post date:** [June 1, 2015, 7:54am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/578 "2015-06-01T07:54:15Z")

</div>

Oh If I could test it that would be sweet. Main question though is it via source compile only atm? I am unfortunately not the greatest programmer to say the least lol. I am more of the artistic person for the engine.

---

<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:** [June 1, 2015, 11:47am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/579 "2015-06-01T11:47:36Z")

</div>

> [@Keiyentai;302684](#):
>
> Oh If I could test it that would be sweet. Main question though is it via source compile only atm? I am unfortunately not the greatest programmer to say the least lol. I am more of the artistic person for the engine.

Yes, only source compile, but the steps are simple:  
-Log into with an account that’s linked to your unreal engine account  
-Go here : [https://.com//UnrealEngine](https://.com//UnrealEngine)  
-Follow all the steps where it says Windows. On the last step, press Cntrl + F5 instead of just F5, so that it loads without the debugger  
-After that UE4 should be open  
-Watch video : [https://www.youtube.com/watch?v=zNY9\_GRw5Zw](https://www.youtube.com/watch?v=zNY9_GRw5Zw) that explains how to setup an scene.  
-Enjoy! And provide feedback 😃

Any questions you have post here

---

<div class="post-metadata">

**Author:** ![Xerithas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xerithas](https://forums.unrealengine.com/u/Xerithas)\
**Post date:** [June 1, 2015, 3:55pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/580 "2015-06-01T15:55:52Z")

</div>

^^

I’m not a programmer at all, and once you actually do it it’s very easy to compile source builds.  
I really recommend not shying away from trying out builds that have features you’re interested in, the only painful part can be waiting for the engine to compile the first time.

---

<div class="post-metadata">

**Author:** ![Keiyentai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Keiyentai](https://forums.unrealengine.com/u/Keiyentai)\
**Post date:** [June 1, 2015, 7:40pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/581 "2015-06-01T19:40:06Z")

</div>

Sweet I will give it a go when I get the time. Thanks. I have tried compiling the Engine from source before and it worked kind of but broke other stuff \>\_\> but that was probably my own fault just going at it blind lol. I will definately try it out thanks.

---

<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:** [June 1, 2015, 10:05pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/582 "2015-06-01T22:05:18Z")

</div>

Well, more of an informative post, but wasn’t accepted for siggraph. Saw that one coming tbh. Anyway, think I’m going to watch the latest GOT episode (HBO you better not kill someone i like, you have been warned), and then get on with the progressive refinement stuff.  
I’m putting development on multiple bounces on hold for a bit, want to get that and the blur working correctly.  
Cya later people

---

<div class="post-metadata">

**Author:** ![JECOGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JECOGames](https://forums.unrealengine.com/u/JECOGames)\
**Post date:** [June 2, 2015, 4:22pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/583 "2015-06-02T16:22:42Z")

</div>

Did they give any specific reason for not being accepted?

---

<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:** [June 2, 2015, 4:46pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/584 "2015-06-02T16:46:14Z")

</div>

> [@JECOGames;303552](#):
>
> Did they give any specific reason for not being accepted?

From what I could read on the judge comments, it was more a problem with the demo than the technique itself. Interactivity wasn’t shown, and they also weren’t satisfied with the overall quality of the assets.  
Guess it will be next time

---

<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:** [June 2, 2015, 5:54pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/585 "2015-06-02T17:54:43Z")

</div>

What is siggraph ?

---

<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:** [June 2, 2015, 6:13pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/586 "2015-06-02T18:13:23Z")

</div>

> [@Blue man;303598](#):
>
> What is siggraph ?

Big CG conference. I sent my work for a small part of it, : [http://s2015.siggraph.org/attendees/real-time-live](http://s2015.siggraph.org/attendees/real-time-live)

---

<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:** [June 2, 2015, 8:33pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/587 "2015-06-02T20:33:08Z")

</div>

> [@;303612](#):
>
> Big CG conference. I sent my work for a small part of it, : [http://s2015.siggraph.org/attendees/real-time-live](http://s2015.siggraph.org/attendees/real-time-live)

Ok,thanks. I didn’t know 😛

---

<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:** [June 6, 2015, 8:31pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/588 "2015-06-06T20:31:36Z")

</div>

Sorry i’ve been out of the loop latetly, been studying and doing some stuff and hadn’t had time to work on . In any case, think that I’ll start again next week, want to finish that progressive refinement stuff, finish multiple bounces, and then do some tweaks and optimizations i have in mind.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_30b5a1e7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_30b5a1e7](https://forums.unrealengine.com/u/anonymous_user_30b5a1e7)\
**Post date:** [June 10, 2015, 11:27am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/589 "2015-06-10T11:27:43Z")

</div>

Here is realistc rendering with ahr

[![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/f/2f0984456f8dd47c5beb0a68b72c3d6cf62ef2aa.jpeg) ](http://tinypic.com/images/goodbye.jpg)

I also foud a bug whit directional lights,it voxelizes also the cone istead of voxelizing only where the light hits a surface(in screen the voxel size is set to 1 )

[![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/f/2f0984456f8dd47c5beb0a68b72c3d6cf62ef2aa.jpeg) ](http://tinypic.com/images/goodbye.jpg)

---

<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:** [June 10, 2015, 1:40pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/590 "2015-06-10T13:40:12Z")

</div>

> [@pac85;307745](#):
>
> Here is realistc rendering with ahr
> 
> [http://i59.tinypic.com/156d8wj.png](http://i59.tinypic.com/156d8wj.png)
> 
> I also foud a bug whit directional lights,it voxelizes also the cone istead of voxelizing only where the light hits a surface(in screen the voxel size is set to 1 )
> 
> [http://i60.tinypic.com/30ma0t4.png](http://i60.tinypic.com/30ma0t4.png)

Ok. That, I have no idea what that is. Will try to reproduce it ASAP. Can you please walk me trough the changes you made? That screen makes really no sense, no idea how it even can do that, it shouldn’t, I only voxelize geometry.

Also, think its saturating the lighting on voxelization, will clamp the light intensity so that colors aren’t lost when the light intensity is too high for the , relatively small ,range of Voxel intensity.

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

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