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

<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:** [August 22, 2015, 6:47pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/832 "2015-08-22T18:47:00Z")

</div>

> [@TAN\_;361835](#):
>
> Hmm… it is Saturday Night here , will you upload the level + test requirements tomorrow ?

Saturday midday here 😉 Just finished having lunch. Will upload it in a few hours. Pushed two commits, one adds a flag to switch between bilateral blur and standard blur, and also improved quality by storing the Voxel normal and checking that on hit. It helps to reduce bleeding

---

<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:** [August 23, 2015, 3:03am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/833 "2015-08-23T03:03:55Z")

</div>

Well, it’s finally uploading. Will be on . It’ll take a while though, is like 670 mb.  
After it uploads I’ll let you people know, and write a short explanation of the scene and the values

---

<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:** [August 23, 2015, 4:48pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/834 "2015-08-23T16:48:30Z")

</div>

Ok, git seems to be having problems uploading. Trying one last time, and if it doesn’t works I’ll upload it somewhere else, it’s just a demo after all.

---

<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:** [August 23, 2015, 5:44pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/835 "2015-08-23T17:44:24Z")

</div>

Try site

> **[MEGA](https://mega.nz/)**
>
> MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 20GB now

😃

---

<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:** [August 23, 2015, 6:29pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/836 "2015-08-23T18:29:08Z")

</div>

Finally! Up and running now. It’s on .  
Play around with it, tweak the settings and stuff. For comparison, i get about 70 fps with my gtx 970. The initial displacement changed (again), now is in voxels, so something like 2 or 3 is enough and the samples displacement doesn’t do anything now (it’s legacy, stopped using it when I moved to the exact voxel intersection sampling. Might add an option to skip voxels later). I have a terrain in place, but for now terrains doesn’t affect GI.  
If you have any question feel free to ask, but play with the scene, should help get the hang of the settings.  
There’s also a small cornell box inside the scene.

---

<div class="post-metadata">

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

</div>

That sounds great 😃

---

<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:** [August 23, 2015, 8:11pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/838 "2015-08-23T20:11:24Z")

</div>

How do I donwload only your scene folder ? All 821 MB is a bit too big 😃

---

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

</div>

> [@TAN\_;362539](#):
>
> How do I donwload only your scene folder ? All 821 MB is a bit too big 😃

Don’t think so, at least not from . If you have git set up on your pc and you cloned the repo you should run “git pull origin release” from the command line. Think that running Sync inside Visual Studio’s Team Explorer could work too.  
The test scene is like 650 mb though. I’m now thinking that for the ones that update the code downloading the entire zip, makes the zip size too big. Hadn’t thought about that before. For now, it’s on , and while I know it can be difficult to set up git, i really recommend doing so, to prevent having to download the entire repo every time I make a small change. Will start uploading it to mega, and when it’s finished I’ll delete it from git.

---

<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:** [August 23, 2015, 10:06pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/840 "2015-08-23T22:06:41Z")

</div>

Ok, so here’s the file uploaded to mega : [MEGA](https://mega.nz/#F!58Qw3T7R!xGApDeqSp1FWP7Wfh2aLPQ)  
Will delete it from git later  
\*\*EDIT: \*\* Deleted it from git, use the mega link

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8f916b13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8f916b13](https://forums.unrealengine.com/u/anonymous_user_8f916b13)\
**Post date:** [August 24, 2015, 11:34am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/841 "2015-08-24T11:34:26Z")

</div>

> [@;362614](#):
>
> Ok, so here’s the file uploaded to mega : [MEGA](https://mega.nz/#F!58Qw3T7R!xGApDeqSp1FWP7Wfh2aLPQ)  
> Will delete it from git later  
> \*\*EDIT: \*\* Deleted it from git, use the mega link

Hey been following you off and on while learning more about UE4. I have a few questions and some may be iterated upon in your huge thread already but I am very tired and I hope you understand. Is going to be purchasable on the marketplace when you are more or less finished, or will it be free? It looks very good from your videos but I have not tried to integrate it with anything I am doing currently. So I wish to also ask how close do you think it is until it will rival something of cryengines GI? I hope you have a nice day, as I am now off to bed. 🙂

---

<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:** [August 24, 2015, 5:22pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/842 "2015-08-24T17:22:01Z")

</div>

Tried out yourl evel. I had some flickering on materials and shadows but except from that ran on around 30 FPS:

 ![aa4b09c17f7c3c854d0713c3bdcca2f8dc95aa31.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/4/aa4b09c17f7c3c854d0713c3bdcca2f8dc95aa31.jpeg)

Also ran the Blueprint level with my custom character and materials. Moved everything around to make sure that what I see are dynamic shadows and not basked ones, confirmed it is AHR. Runs around 20 FPS. That is around 4 FPS lower than CryEngine on my same machine for reference.

 ![Koli.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/6/b67ed101f434d16480b4a7c8c67f8a36f171d0e1.jpeg)

ALso I gotto tell. These shots I get with AHR… just sweet. 😃 Got even a hand metal reflection 😃

 ![f25eeda95d22fbd46e6d70a64aad8a50849b0cbb.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/5/f25eeda95d22fbd46e6d70a64aad8a50849b0cbb.jpeg)

And 😃

 ![cd25c8a8d55e58b76d9674d071adf4ff604a2006.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/2/cd25c8a8d55e58b76d9674d071adf4ff604a2006.jpeg)

So as a final say: I don’t know what is the deal with material/shadow flickering in Example Level but from my experence in real time GI I can summarise .

If optimsed well further, supported by Epic and combined together with DFGI for terrain system would be ready for “commercial purposes” (meaning production of games, films etc)

Cheers mate. Bloody good work 😃

---

<div class="post-metadata">

**Author:** ![Daedalus51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daedalus51](https://forums.unrealengine.com/u/Daedalus51)\
**Post date:** [August 24, 2015, 5:53pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/843 "2015-08-24T17:53:30Z")

</div>

Hmmm…any clue whats responsible for that green-ish tint in the GI?

Ideally the skylight would inject into the voxel volume and being shadowed by AHR. In that case it should actually have a bue-ish tint where the skylight fills…everything else should be local bouncelighting/direct lighting.

---

<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:** [August 24, 2015, 6:09pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/844 "2015-08-24T18:09:49Z")

</div>

I have a yellow value instead of blue one in Post Process volume. Also the grass int the ground may be cousing the greenish effect on tree hunk I suppose.

EDIT: Tried it, yes it is becaue I turned it yellowish.

---

<div class="post-metadata">

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

</div>

To me, the walls in the back look a little washed out.

---

<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:** [August 24, 2015, 7:06pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/846 "2015-08-24T19:06:13Z")

</div>

> [@\_cDub;363332](#):
>
> To me, the walls in the back look a little washed out.

I agree, there should be ao at least, something is off. Plus the big white squares on the first screen shouldn’t be there.  
Will look it in more detail when I get home in about 5 - 6 hours

---

<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:** [August 24, 2015, 7:45pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/847 "2015-08-24T19:45:24Z")

</div>

Ok then. So to help :

- I haven’t made any changes to Blueprints level. One light (directional if I am not wrong) two Post Process volumes.

---

<div class="post-metadata">

**Author:** ![\_cDub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_cDub](https://forums.unrealengine.com/u/_cDub)\
**Post date:** [August 25, 2015, 12:06am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/849 "2015-08-25T00:06:25Z")

</div>

> [@TAN\_;363363](#):
>
> Ok then. So to help :
> 
> - I haven’t made any changes to Blueprints level. One light (directional if I am not wrong) two Post Process volumes.

Is there a sky light in the scene? With global illumination it shouldn’t be needed… Or at least not as much. Check to see if there was any previously baked lighting if the directional light started off stationary, ahr could be applying more light on top of an already lit light map.

---

<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:** [August 25, 2015, 3:00pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/850 "2015-08-25T15:00:22Z")

</div>

Checked it

- No Sky Light
- No baked lighting (moved things around, netiher shadows nor secondaries are baked)
- Directional light is on “Moving”

Why don’t you also try Blueprints level if you have it ? It can be a good comparison between each other.

---

<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:** [August 25, 2015, 5:09pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/851 "2015-08-25T17:09:09Z")

</div>

Sorry about the delay, was having problems connecting. Will look into the blueprints example after I finish a report I have to write. \*\*\*\* latex, it looks great but takes a while to write D:  
EDIT[offtopic]: Think they have to relax a bit the profanity filter, come on, d4mn is not that bad

---

<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:** [August 25, 2015, 5:56pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/852 "2015-08-25T17:56:42Z")

</div>

> [@;364101](#):
>
> \*\*\*\* latex, it looks great but takes a while to write D:

Amen to that. I’ll be doing the same \*\*\*\* for the thesis next week.  
I feel ya brotha’ 😃

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

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