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

<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:** [April 17, 2015, 12:25pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/429 "2015-04-17T12:25:10Z")

</div>

> [@Dakraid;273765](#):
>
> Epic doesn’t allow to make repo’s of the engine public, since the engine source code is not open source. Everyone is allowed to get access to it, but has to accept Epic’s conditions, so keep that in mind.

Wasn’t aware of that. Will contact someone from epic right now, ask him what are the steps to do.  
While I wait for the answer, going to make the repo private, as a precaution. Sorry about , but will wait until epic tells me what to do.

---

<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:** [April 17, 2015, 1:02pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/430 "2015-04-17T13:02:07Z")

</div>

> [@;273778](#):
>
> Wasn’t aware of that. Will contact someone from epic right now, ask him what are the steps to do.  
> While I wait for the answer, going to make the repo private, as a precaution. Sorry about , but will wait until epic tells me what to do.

You don’t have to make the repo private. You have something like three access levels. Private (only you), Restricted (everyone in the Epic -group) and Public (everyone even without being in the Epic -group). Something along these lines, I don’t know how you would go about setting it up, since I don’t use myself currently.  
Sorry, I haven’t been too precise with my statement. :S

---

<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:** [April 17, 2015, 1:24pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/431 "2015-04-17T13:24:17Z")

</div>

Well, is the link to the build : https://.com//UnrealEngine

Clone/fork from there. Sorry about making you guys need to re-download and stuff. I deleted the public repo, so delete what you guys have and get the stuff from there.

Clone the release branch

---

<div class="post-metadata">

**Author:** ![cadviz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cadviz](https://forums.unrealengine.com/u/cadviz)\
**Post date:** [April 17, 2015, 2:10pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/432 "2015-04-17T14:10:58Z")

</div>

> [@;273809](#):
>
> Well, is the link to the build : https://.com//UnrealEngine
> 
> Clone/fork from there. Sorry about making you guys need to re-download and stuff. I deleted the public repo, so delete what you guys have and get the stuff from there.
> 
> Clone the release branch

… you are killing me man :mad:  
till moment; I had spent More than 12 hours to download… and didn’t complete the download yet… and now I have to accept your sorrow !!  
You should warn us before you deleted it…

Thanks for every thing

---

<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:** [April 17, 2015, 2:12pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/433 "2015-04-17T14:12:56Z")

</div>

> [@cadviz;273828](#):
>
> … you are killing me man :mad:  
> till moment; I had spent More than 12 hours to download… and now I have to accept your sorrow !!  
> You should warn us before you deleted it…
> 
> Thanks for every thing

I know it sucks, have a 2 Mbps connection myself, know the pain of having to download everything again. Like I said, i’m sorry, wasn’t aware I couldn’t push a public repo with ue source.

---

<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:** [April 17, 2015, 2:34pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/434 "2015-04-17T14:34:53Z")

</div>

> [@PLASTICA-MAN;273557](#):
>
> @ , is the sample project you promised me uploaded? Juts asking becauase I didn’t see see anything added in the page. I am really impatient to try your magical solution. 🙂

Uploading now 🙂

> [@Angeline;272760](#):
>
> Thank you for the answer about Macs , I’ll give it a try tomorrow - unfortunately I have just a MacBook Pro that is a bit slow to compile the Editor hahaha
> 
> On Windows it runs really nice 🙂

Had you tried on ? I’m curious to see if it works

---

<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:** [April 17, 2015, 4:00pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/435 "2015-04-17T16:00:41Z")

</div>

> [@Gomo;272951](#):
>
> Recording of my first test [https://www.youtube.com/watch?v=WZCixsAzDAY&=youtu.be](https://www.youtube.com/watch?v=WZCixsAzDAY&=youtu.be)  
> Unfortunately Stats were not shown when recording through matinee - perhaps I should make another try (although is just a simple map).  
> There is also some bug visible - when sphere slides away from center of the scene it stops to emit light - I’ve double checked volumes - they are ok, also playing in viewport doesn’t generate such bug.

That is strange. Could you send me the project you’re using? Want to see if I can reproduce the error. Also, you said that on the viewport it doesn’t happens, does it still happens when you go to play mode?

---

<div class="post-metadata">

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

</div>

My connection speed is so weak… 0.05 MBps; May be three are many people suffering (like me)…

It would be most appreciated if some body uplaods a full completed build AHR as (zipped one) OR as a torrent… with permission Of course 🙂  
It is just a wish 🙂

---

<div class="post-metadata">

**Author:** ![Mikand79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mikand79](https://forums.unrealengine.com/u/Mikand79)\
**Post date:** [April 17, 2015, 4:07pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/437 "2015-04-17T16:07:21Z")

</div>

But that would be just as 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:** [April 17, 2015, 5:36pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/438 "2015-04-17T17:36:18Z")

</div>

> [@cadviz;273902](#):
>
> My connection speed is so weak… 0.05 MBps; May be three are many people suffering (like me)…
> 
> It would be most appreciated if some body uplaods a full completed build AHR as (zipped one) OR as a torrent… with permission Of course 🙂  
> It is just a wish 🙂

> [@Mikand79;273905](#):
>
> But that would be just as big?

Would be even bigger, a clean build with just the DevelopmentEditor configuration takes about 10 GBs.  
I can’t distribute a compiled build for the same reason I couldn’t make public the engine code. It’s Epic’s code, so they have control over who get’s access to 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:** [April 17, 2015, 5:37pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/439 "2015-04-17T17:37:26Z")

</div>

Finished with the project upload, it’s here : [https://drive.google.com/file/d/0B6A51p8LzEWYcjJHM1FTRHM3MFU/view?usp=sharing](https://drive.google.com/file/d/0B6A51p8LzEWYcjJHM1FTRHM3MFU/view?usp=sharing)

---

<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:** [April 17, 2015, 5:40pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/440 "2015-04-17T17:40:31Z")

</div>

> [@;273962](#):
>
> Finished with the project upload, it’s here : [https://drive.google.com/file/d/0B6A51p8LzEWYcjJHM1FTRHM3MFU/view?usp=sharing](https://drive.google.com/file/d/0B6A51p8LzEWYcjJHM1FTRHM3MFU/view?usp=sharing)

Thank you very much! 🙂

---

<div class="post-metadata">

**Author:** ![Graute](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Graute](https://forums.unrealengine.com/u/Graute)\
**Post date:** [April 17, 2015, 5:46pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/441 "2015-04-17T17:46:03Z")

</div>

Thank you for all the hard work, appreciate 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:** [April 17, 2015, 6:39pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/442 "2015-04-17T18:39:18Z")

</div>

> [@Atle;273972](#):
>
> Thank you for all the hard work, appreciate it.

Talking about hard work, i’m going to ask you people something … 😉  
I want to apply for the Real Time Live! conference at SIGGRAPH, and for that I need to make a video showcasing . I could really use some help, as I have about a week to build some scene that looks good enough to earn me a place there. I will work to get both the shadows working correctly and PBR weekend, so that next week I can do just the video.  
I don’t really have much experience with matinee or actually building things on UE, mostly a programmer here :), so that’s why I’m asking for help.  
Should be something simple, keeping in mind the time constrain, but that shows the biggest features, that are dynamic scenes, dynamic lights (directional and spot only), reflections and emissive.

Was thinking something about the lines of a drone scouting an empty building, post-apocalitptic, with sun coming trough cracks in the walls and roof. Give the drone a spot light, have some metal sheets on the floor or something to show reflections (reflections with AHR work best for materials with some roughness, on perfect mirrors you see the voxels) , to show emissive maybe a light tube hanging or similar, and at the end some wall collapses or something so that it shows dynamic geometry. Just an idea, what do you guys think?

---

<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:** [April 17, 2015, 7:04pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/443 "2015-04-17T19:04:21Z")

</div>

> [@;273994](#):
>
> Talking about hard work, i’m going to ask you people something … ;
> 
> Was thinking something about the lines of a drone scouting an empty building, post-apocalitptic, with sun coming trough cracks in the walls and roof. Give the drone a spot light, have some metal sheets on the floor or something to show reflections (reflections with AHR work best for materials with some roughness, on perfect mirrors you see the voxels) , to show emissive maybe a light tube hanging or similar, and at the end some wall collapses or something so that it shows dynamic geometry. Just an idea, what do you guys think?

ha!ha! , you have a week , not a few moths ,

and also , does the assets have to be created specifically for ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_426edf5e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_426edf5e](https://forums.unrealengine.com/u/anonymous_user_426edf5e)\
**Post date:** [April 17, 2015, 7:05pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/444 "2015-04-17T19:05:07Z")

</div>

Hey !

I was not able to build the editor on my MacBook, looks like there are a few errors, maybe you want give a look:

Full Log:

Summary:

```auto

UE4Editor - Group
/Users//Documents/UEAHR/UnrealEngine/Runtime/Engine/Public/PrimitiveViewRelevance.h
Runtime/Engine/Public/PrimitiveViewRelevance.h:80:3: error: field 'bInitializedThisFrame' will be initialized after field 'bNeedsVoxelization' -Werror,-Wreorder]

Runtime/Engine/Public/PrimitiveViewRelevance.h:103:3: error: field 'bInitializedThisFrame' will be initialized after field 'bNeedsVoxelization' -Werror,-Wreorder]

Showing first 200 errors only

```

Please, let me know if you need any further info or have idea of what happened 🙂

Kind Regards.

---

<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:** [April 17, 2015, 7:18pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/445 "2015-04-17T19:18:25Z")

</div>

> [@diegor;274008](#):
>
> ha!ha! , you have a week , not a few moths ,
> 
> and also , does the assets have to be created specifically for ?

Not really, probably will create the drone in blender, build the scene with BSP and use the template materials.  
You think it’s too much? It needs to be just a few minutes, nothing long.

---

<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:** [April 17, 2015, 7:29pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/446 "2015-04-17T19:29:25Z")

</div>

> [@Angeline;274009](#):
>
> Hey !
> 
> I was not able to build the editor on my MacBook, looks like there are a few errors, maybe you want give a look:
> 
> Full Log:
> 
> Summary:
> 
> ```auto
> 
> UE4Editor - Group
> /Users//Documents/UEAHR/UnrealEngine/Runtime/Engine/Public/PrimitiveViewRelevance.h
> Runtime/Engine/Public/PrimitiveViewRelevance.h:80:3: error: field 'bInitializedThisFrame' will be initialized after field 'bNeedsVoxelization' -Werror,-Wreorder]
> 
> Runtime/Engine/Public/PrimitiveViewRelevance.h:103:3: error: field 'bInitializedThisFrame' will be initialized after field 'bNeedsVoxelization' -Werror,-Wreorder]
> 
> Showing first 200 errors only
> 
> ```
> 
> Please, let me know if you need any further info or have idea of what happened 🙂
> 
> Kind Regards.

Haha well, seems that visual studio is less a pain with the warnings. The order of the variables declaration is different from the initialization, and the compiler is complaining. First time I see that warning tbh.  
Anyway, I will push a new commit with a few changes, including that, but please do a quick fix for me first, just open the file PrimitiveViewRelevance.h, cut the two variables bNeedsVoxelization and bNeedsEveryFrameVoxelization and paste them under bIntializedThisFrame. Should work, as the compiler is just complaning they are before bInitializedThisFrame and not after.

---

<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:** [April 18, 2015, 3:34am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/447 "2015-04-18T03:34:57Z")

</div>

Just pushed a small commit, some bug fixes. For the ones that have Git properly set up, it should be just clicking Sync under TeamExplorer tab in visual studio and it should fetchs the commits automatically.  
The others can just download the clone zip, and copy over the files in the Engine folder.  
For the ones that don’t want to download the clone zip ( it’s not big, think about 100 - 150 mb) the changes are only on two files, so you can go click on the commit on , that will show the changes, then download all the changed files and replace on the corresponding folders.

---

<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:** [April 18, 2015, 2:46pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/448 "2015-04-18T14:46:36Z")

</div>

> [@;274014](#):
>
> Not really, probably will create the drone in blender, build the scene with BSP and use the template materials.  
> You think it’s too much? It needs to be just a few minutes, nothing long.

I would recommend getting a decent scene off of [blendswap.com](http://blendswap.com), they’re all free, also you could download the starter apocalyptic scene tutorial file from Prices tutorial here: [How to Create a Post Apocalyptic Environment — Blender Guru](http://www.blenderguru.com/tutorials/how-to-create-a-post-apocalyptic-environment/) you would need to add some basic low poly grass planes instead of the particles he’s using, you would also have to make the floor shinier and create pbr maps in photoshop but its eaier then doing everything yourself 🙂

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

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