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

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [January 19, 2015, 9:55pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/244 "2015-01-19T21:55:48Z")

</div>

will your system also work for big outdoor environments (with a lot of foliage) or is it only suited for small indoor rooms?

---

<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:** [January 19, 2015, 10:02pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/245 "2015-01-19T22:02:25Z")

</div>

> [@Alcatraz;208195](#):
>
> will your system also work for big outdoor environments (with a lot of foliage) or is it only suited for small indoor rooms?

Haha one again. It should work for big scenes, but depends on the settings. I have already talked about it 😉

---

<div class="post-metadata">

**Author:** ![Netrve](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/netrve/32/549870_2.png) [@Netrve](https://forums.unrealengine.com/u/Netrve)\
**Post date:** [January 19, 2015, 10:33pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/246 "2015-01-19T22:33:57Z")

</div>

I want more screenshots! 😃  
No seriously, I am really excited to see some progress, I hope everything is going well!

Greetz,  
Dakraid

---

<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:** [January 20, 2015, 9:35pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/247 "2015-01-20T21:35:26Z")

</div>

Soooo…my first test is done! Used an old wip scene of mine. Please be aware that I used the snipping tool to make screens, so there are artifacts! Highrez screenshot mode gave me even more weird artifacts^^ The scene is lit only by one directional light and there is still quality issues and voxel leaking, but thats what it looks so far with a bit of tweaking. 😉

 ![01.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/9/894b8595734b7db2a02256f4449151323a86a5d0.jpeg)  
 ![51ded7046d0b94489102d5e4a15ec3e93c0bcdeb.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)  
 ![03.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/c/8c483ede4805815e960e6b55acd30d38dd105521.jpeg)  
 ![04.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/4/e46b987f3bf61ad83d5ccff90b8f0f430d993ae9.jpeg)

Cheers! 🙂

---

<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:** [January 20, 2015, 9:45pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/248 "2015-01-20T21:45:13Z")

</div>

A couple of more (ps, yeah…I just quickly modeled something based on Koolas scene, seemed like a cool testcase for me^^) Enjoy:

![586ec4c188dd42b59cc9c36b91fa8ab6fc0c391c.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

 ![02.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/0/9089ee6ef4839554cffb1295c1e15ea2d7e096e1.jpeg)  
 ![9f954b5effce31a0a7949604a7b9e8c73228cf2e.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)  
 ![0344a2186949f8f115ccc6d7a5a6b2c4f83b622d.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)  
 ![4f7cc1d2e976d736dc6981a314f91c33c5cc19f4.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

Hope you guys like it 🙂

Cheers!

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [January 20, 2015, 10:29pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/249 "2015-01-20T22:29:13Z")

</div>

That’s some pretty fantastic lighting coming from just a single directional light. Are you getting a good framerate?

---

<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:** [January 21, 2015, 7:42am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/250 "2015-01-21T07:42:22Z")

</div>

> [@;208796](#):
>
> That’s some pretty fantastic lighting coming from just a single directional light. Are you getting a good framerate?

Hehe…actually, not really. But thats to be expected. I have a GTX580 3GB, and the apartement scene runs with 95ms on my gpu. So thats quite bad. But I had to push some settings to get rid of artifacts. So yeah, thats not really representative. The Pavilion Scene runs better, around 40-50ms. But yeah…its wip though 😃

---

<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:** [January 21, 2015, 3:06pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/251 "2015-01-21T15:06:56Z")

</div>

would have loved to see the before for comparison sake

---

<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:** [January 21, 2015, 4:26pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/252 "2015-01-21T16:26:51Z")

</div>

> [@Bladerskb;209159](#):
>
> would have loved to see the before for comparison sake

What do you mean by that? The original scene lit with lightmass or just the out of the box default settings of AHR?

---

<div class="post-metadata">

**Author:** ![Netrve](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/netrve/32/549870_2.png) [@Netrve](https://forums.unrealengine.com/u/Netrve)\
**Post date:** [January 21, 2015, 4:30pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/253 "2015-01-21T16:30:07Z")

</div>

Hey , do you think you are able to add plane/area lights (in the far [SIZE=2]future) [/SIZE]or is that on Epic’s end?  
If you don’t know what I mean, I have an example from the CryEngine here: [click](http://docs.cryengine.com/download/attachments/1048738/diffuseSoftness_0.jpg?version=1&modificationDate=1376645769000&api=v2) (It’s from the CE documentation, but it’s the next best thing I could think of as example, mostly because I came from CE to UE4 ^^)

Greetz,  
Dakraid

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd738307](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd738307](https://forums.unrealengine.com/u/anonymous_user_fd738307)\
**Post date:** [January 21, 2015, 4:32pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/254 "2015-01-21T16:32:44Z")

</div>

> [@Daedalus51;209195](#):
>
> What do you mean by that? The original scene lit with lightmass or just the out of the box default settings of AHR?

Personally i’d love to see same position screenshots with:

1. No AHR (no built lighting, just black shadows)
2. AHR default
3. AHR tweaked

with their respective frame rates on top.  
But i get that’s unneeded work at step being a wip.  
Quality doesn’t seem too good, i expected a lot less leakage. Is test version’s voxelization already optimized for static?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd738307](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd738307](https://forums.unrealengine.com/u/anonymous_user_fd738307)\
**Post date:** [January 21, 2015, 4:40pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/255 "2015-01-21T16:40:00Z")

</div>

Fake Koola’s sample scene also doesn’t seem to propagate emissive lighting using an inverse square falloff rule, but i may be wrong about that.  
In any case that’s a pretty impressive tech if you think about the constraints in which it was developed (one and a half man / native engine integration / spare time dev / no resources), so I still have my hopes up.  
I would be pretty intrigued to see same scene comparisons with AHR and experimental DFGI in 4.7!

---

<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:** [January 21, 2015, 5:37pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/256 "2015-01-21T17:37:56Z")

</div>

> [@Dakraid;209198](#):
>
> Hey , do you think you are able to add plane/area lights (in the far [SIZE=2]future) [/SIZE]or is that on Epic’s end?  
> If you don’t know what I mean, I have an example from the CryEngine here: [click](http://docs.cryengine.com/download/attachments/1048738/diffuseSoftness_0.jpg?version=1&modificationDate=1376645769000&api=v2) (It’s from the CE documentation, but it’s the next best thing I could think of as example, mostly because I came from CE to UE4 ^^)
> 
> Greetz,  
> Dakraid

Actually, it basically works out of the box 😉 Just make a plane and use emissive and you have a box light 😉 All the stuff is not really physically based yet, so we have issues with how far light travels, no multiple bounces, no inverse square falloff, not all material parameters taken into account as far as I know^^

But as said, is working on getting the basic building blocks to work, and when thats done, I guess he will touch these things as well 😉

Cheers!

---

<div class="post-metadata">

**Author:** ![Netrve](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/netrve/32/549870_2.png) [@Netrve](https://forums.unrealengine.com/u/Netrve)\
**Post date:** [January 21, 2015, 7:58pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/257 "2015-01-21T19:58:57Z")

</div>

> [@Daedalus51;209239](#):
>
> Actually, it basically works out of the box 😉 Just make a plane and use emissive and you have a box light 😉 All the stuff is not really physically based yet, so we have issues with how far light travels, no multiple bounces, no inverse square falloff, not all material parameters taken into account as far as I know^^
> 
> But as said, is working on getting the basic building blocks to work, and when thats done, I guess he will touch these things as well 😉
> 
> Cheers!

Ok, now I actually have to facepalm myself because I didn’t think of that ^^ But thanks for clearing that up Daedalus51!

Greetz,  
Dakraid

---

<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:** [January 23, 2015, 8:39pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/258 "2015-01-23T20:39:50Z")

</div>

Can someone explain how it works precisely?From what i read i realized that it simply voxellize the scene end then ray trace.

---

<div class="post-metadata">

**Author:** ![PLASTICA-MAN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/plastica-man/32/990043_2.png) [@PLASTICA-MAN](https://forums.unrealengine.com/u/PLASTICA-MAN)\
**Post date:** [January 24, 2015, 5:07am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/259 "2015-01-24T05:07:25Z")

</div>

Epic is researching a way to get dynamic GI : [Trello](https://trello.com/c/YV0SQmqn/481-dynamic-gi-research)

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [January 24, 2015, 9:40pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/260 "2015-01-24T21:40:59Z")

</div>

> [@PLASTICA-MAN;210507](#):
>
> Epic is researching a way to get dynamic GI : [Trello](https://trello.com/c/YV0SQmqn/481-dynamic-gi-research)

Their realtime GI solution is pretty different from the one being explored here, different solutions always have their own pros and cons, so having multiple options is always a good thing. Epic has posted some screen shots of their Distance Field GI. [Global Illumination alternatives - Feedback & Requests - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?2421-Global-Illumination-alternatives&p=193884&viewfull=1#post193884)

You can actually enable Distance Field GI in 4.7 preview and test it out. It’s pretty noisy from my tests, but it might be viable in the future.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8558ff7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8558ff7](https://forums.unrealengine.com/u/anonymous_user_c8558ff7)\
**Post date:** [January 26, 2015, 9:51pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/261 "2015-01-26T21:51:57Z")

</div>

Hey there, one thing with 4.6 version: There’s a problem with Subsurface scattering and Unreal Engine built-in GI solver is that when using a Subsurface scattering profile, the engine crashes, if it is any other kind of Subsurface scattering method, everything works fine. Any to know if you’ll solve ? 😃

---

<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:** [January 26, 2015, 10:11pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/262 "2015-01-26T22:11:54Z")

</div>

> [@;211604](#):
>
> Hey there, one thing with 4.6 version: There’s a problem with Subsurface scattering and Unreal Engine built-in GI solver is that when using a Subsurface scattering profile, the engine crashes, if it is any other kind of Subsurface scattering method, everything works fine. Any to know if you’ll solve ? 😃

Lightmass you mean? Haha no idea, never touched it. Sorry, but no, I’m working on AHR, and to be honest, I really wouldn’t have any idea how to start

Oh, btw,  
I’m back 🆒

---

<div class="post-metadata">

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

</div>

> [@;211615](#):
>
> Lightmass you mean? Haha no idea, never touched it. Sorry, but no, I’m working on AHR, and to be honest, I really wouldn’t have any idea how to start
> 
> Oh, btw,  
> I’m back 🆒

nope, I meant LPV xD

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

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