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

<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 19, 2015, 6:31pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/812 "2015-08-19T18:31:37Z")

</div>

> [@TAN\_;359391](#):
>
> **EDIT:** UE4 had it’s own Fog system right ? You think that would be a problem with the overall AHR ?

Hmm not sure, but shouldn’t be much of a problem. Hadn’t give much thought to that idea, but it’s interesting.

---

<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 19, 2015, 6:33pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/813 "2015-08-19T18:33:26Z")

</div>

Yeah the reason that popped up is that in CryEngine things like sun shafts are connected to existence of fog or dust. So I thought maybe can be an or not.

---

<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 20, 2015, 6:43pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/814 "2015-08-20T18:43:30Z")

</div>

.

OK here goes:

No special settings, I used the setting in your video. Changed none of the materials.

 ![1.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/5/959429d9c66c9ec5a0a21b1d8c7a0891e45d556c.jpeg)

 ![2.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/6/366f5295b662fe9a6a9113cd669f7b83125eb8bd.jpeg)

 ![3.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/7/a7dc3ad689fac3beb8107a4ac67e917da7e5017d.jpeg)

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

 ![71b990cd34cabe667e057a4ea08bfc0ed8e0f73f.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/b/71b990cd34cabe667e057a4ea08bfc0ed8e0f73f.jpeg)

 ![f73efda9d26069040032676025a987122b4d906f.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/3/f73efda9d26069040032676025a987122b4d906f.jpeg)

So here comes the bad things (it wouldn’t be development if they weren’t around 😃 )

- Even without setting up AHR it runs at 6-7 FPS. When set up AHR still same. Not sure why ?
- I can’t change any texture on my character before. When I touch materials it freezes and then crashes ASAP.

Hope that helped. Anything you need to know specifically ask me.

Hot \*\*\*\* results by the way. Great job mate 😃

---

<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 20, 2015, 7:30pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/815 "2015-08-20T19:30:09Z")

</div>

> [@TAN\_;360316](#):
>
> .
> 
> OK here goes:
> 
> No special settings, I used the setting in your video. Changed none of the materials.
> 
> So here comes the bad things (it wouldn’t be development if they weren’t around 😃 )
> 
> - Even without setting up AHR it runs at 6-7 FPS. When set up AHR still same. Not sure why ?
> - I can’t change any texture on my character before. When I touch materials it freezes and then crashes ASAP.
> 
> Hope that helped. Anything you need to know specifically ask me.

Well, will look into the texture stuff, but about the performance. I have a few ideas but you’ll need to do some work. Prepare to get your hands dirty 😉  
First, run profilegpu command and give me a screenshot of that, with the AHRVoxelization category expanded. Think the problem is there, cause I changed some stuff and now grids are twice as big as before, and on my tests it would seem that there’s a big drop after you reach a specific voxel count, but reaching that critical point depends on the bounds size.  
After that, go to your bounds volume (not the post pro one, the one that you used to set the voxel size) , take a screenshot of the settings, interested in the size of the volume and the voxel size, increase the voxel size to the double, and run profilegpu again.  
Also I have a feeling something is off, so bring the Ambient Intensity on the AHR settings down to zero, switch to Lighting Only, and take one or two screenshots. Also try increasing the initial displacement to 40 and take one or two screens again.  
That should be enough for now.

On a side note, there’s a new option to make the bounds follow the camera, it has some flickering, but it should be really useful for open games. It’s on the AHR settings in the post pro volume, you have to tick Bounds Follow Camera and then tweak the Movable Bounds and Voxel Size (for you use the voxel size of the main post pro volume with all the others settings)

---

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

</div>

> [@;](#):
>
> On a side note, there’s a new option to make the bounds follow the camera, it has some flickering, but it should be really useful for open games. It’s on the AHR settings in the post pro volume, you have to tick Bounds Follow Camera and then tweak the Movable Bounds and Voxel Size (for you use the voxel size of the main post pro volume with all the others settings)

You… did it ???

\*\*\*\*\*\*\*\*\* YEAAAAHS ! 😃

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

Expect your requests presented sometime tomorrow, let’s do ! 😃

---

<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 21, 2015, 12:18am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/817 "2015-08-21T00:18:28Z")

</div>

Okay \*\*\*\*…that looks sweet!:o

---

<div class="post-metadata">

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

</div>

> [@TAN\_;360316](#):
>
> .
> 
> OK here goes:
> 
> No special settings, I used the setting in your video. Changed none of the materials.

without before/after I see nothing

edit: went back and did some comparison. \*\*\*\* looks real rad!  
I need that in my blood stream!

---

<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 21, 2015, 1:13am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/819 "2015-08-21T01:13:11Z")

</div>

> [@Bladerskb;360595](#):
>
> without before/after I see nothing

I don’t think it’s actually working correctly, so comparisons might not be representative.

---

<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 21, 2015, 5:03pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/820 "2015-08-21T17:03:54Z")

</div>

I hope I didn’T mess up anywhere.

**EDIT!!!:** I messed up but I don’t know where 😃

can you write a step by step instruction for setting up AHR in a scene please. Also add a couple recommendations if possible please.

> [@;](#):
>
> Well, will look into the texture stuff, but about the performance. I have a few ideas but you’ll need to do some work. Prepare to get your hands dirty 😉  
> First, run profilegpu command and give me a screenshot of that, with the AHRVoxelization category expanded.

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

> [@;](#):
>
> After that, go to your bounds volume (not the post pro one, the one that you used to set the voxel size) , take a screenshot of the settings, interested in the size of the volume and the voxel size, increase the voxel size to the double, and run profilegpu again.

Before

 ![3b1e3bafd58ec8daf4f30c4fb43ee76599e31a6f.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/1/3b1e3bafd58ec8daf4f30c4fb43ee76599e31a6f.jpeg)

After:

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

> [@;](#):
>
> Also I have a feeling something is off, so bring the Ambient Intensity on the AHR settings down to zero, switch to Lighting Only, and take one or two screenshots. Also try increasing the initial displacement to 40 and take one or two screens again.

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

 ![9ff254e94e6c21a0e40c8b530b8492d777255d43.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/f/9ff254e94e6c21a0e40c8b530b8492d777255d43.jpeg)

Edit when I move the main light source in the scene shouldn’t shadows also supposed to move ?

---

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

</div>

> [@TAN\_;361065](#):
>
> can you write a step by step instruction for setting up AHR in a scene please. Also add a couple recommendations if possible please.

Ok, something is definitely off. Yeah, that will probably be better. Will upload to git a simple test scene already set up for AHR, and also explain what the settings are.

---

<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 21, 2015, 5:48pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/822 "2015-08-21T17:48:17Z")

</div>

> [@;](#):
>
> Ok, something is definitely off. Yeah, that will probably be better. Will upload to git a simple test scene already set up for AHR, and also explain what the settings are.

would simply be great ! Then I can just give you whatever details you need in your terms (which I suppose would be much better for your data gathering)

Maybe you can ask one of the creators here in the forum for a nice looking forest or something like environment to test AHR out ? There are a lot of skillful people here who have done great level works. Maybe we can ask one of theirs’ to test it out ?

For example here ?

> **[What Are You Working On? Community Screenshots & Videos](https://forums.unrealengine.com/showthread.php?32543-What-Are-You-Working-On-Community-Screenshots-amp-Videos%2Fpage22)**
>
> Following the idea of the most popular thread on polycount What Are You Working On? 2014 Edition So please share your screenshots and videos from Unreal 4! I’ll start by sharing some different things I’ve been working on recently. Shield reacting...

---

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

</div>

> [@TAN\_;361101](#):
>
> would simply be great ! Then I can just give you whatever details you need in your terms (which I suppose would be much better for your data gathering)
> 
> Maybe you can ask one of the creators here in the forum for a nice looking forest or something like environment to test AHR out ? There are a lot of skillful people here who have done great level works. Maybe we can ask one of theirs’ to test it out ?

Hmm, would be cool for a showcase demo, but had in mind a small one more as a simple example of set up. Also, easier to debug differences on a small scene.

---

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

</div>

Oh like maybe ?

 ![fe74f9ac9ef9ece1d1fbf29fb93b3f104f1a92fd.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/7/fe74f9ac9ef9ece1d1fbf29fb93b3f104f1a92fd.jpeg)

---

<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 21, 2015, 6:36pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/825 "2015-08-21T18:36:02Z")

</div>

> [@TAN\_;361131](#):
>
> Oh like maybe ?
> 
> ![fe74f9ac9ef9ece1d1fbf29fb93b3f104f1a92fd.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/7/fe74f9ac9ef9ece1d1fbf29fb93b3f104f1a92fd.jpeg)

Ol’ classic sponza? Hmm, hadn’t thought about that, but might work! I’m more lazy actually, was just gonna upload my test scene, that’s a bunch of boxes, spheres and a few chairs, with different materials. Think I’ll upload my scene tomorrow, and later upload Sponza.

---

<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 21, 2015, 7:02pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/826 "2015-08-21T19:02:36Z")

</div>

OK then. Give us a heads up when you do. I am free weekend can do every test you would ask for.

---

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

</div>

> [@TAN\_;361153](#):
>
> OK then. Give us a heads up when you do. I am free weekend can do every test you would ask for.

, will do. Long day ahead, but should be up tomorrow if not today. The small test one at least

---

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

</div>

I made (It is not done yet) very simple scene and I know that it is not very pretty but it is just for testing 🙂

[![](https://i.imgur.com/removed.png) ](https://i.imgur.com/removed.png)

[![Imgur](https://i.imgur.com/nU7AW7M.jpeg "imgur.com") ](https://imgur.com/nU7AW7M)

I can’t get that link to work,just copy and paste it in the search bar 😉

---

<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 21, 2015, 7:44pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/829 "2015-08-21T19:44:03Z")

</div>

> [@Blue man;361186](#):
>
> I made (It is not done yet) very simple scene and I know that it is not very pretty but it is just for testing 🙂
> 
> [i.imgur.com/I5qUDVrh.jpg](http://i.imgur.com/I5qUDVrh.jpg)
> 
> [Imgur: The magic of the Internet](http://m.imgur.com/nU7AW7M)
> 
> I can’t get that link to work,just copy and paste it in the search nar 😉

Hmm, looking clean 😃

I really want to see AHR in open grand scenes also

---

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

</div>

I can try something but I’m lazy and it will take a while 😛

---

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

</div>

Hmm… it is Saturday Night here , will you upload the level + test requirements tomorrow ?

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

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