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

<div class="post-metadata">

**Author:** ![fragfest2012](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fragfest2012](https://forums.unrealengine.com/u/fragfest2012)\
**Post date:** [December 18, 2014, 2:34am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/163 "2014-12-18T02:34:30Z")

</div>

Now that I do know. Low level programming classes are the WORST! They make you use all these outdated or otherwise useless techniques, when you know of a hundred better ways to do what they are asking. Thing is, if you do it the correct way (in real life, not the way they want), you fail. It’s really dumb, and I’m sorry you have to put up with it.

---

<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:** [December 18, 2014, 5:03am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/164 "2014-12-18T05:03:14Z")

</div>

> [@;194529](#):
>
> Wanna hear something funny? I’m at my first year of college (I’m 19), and semester I had programming one. We are talking about learning to use a for and stuff like that. The “hardest” part was a linked list. You need a total of 60% to pass. After seeing screens you can expect me to pass that with 90-100 right? I expected that. Well, I passed, that part is correct. But with 69…  
> On my defense, they made us code programs on Pascal, and on paper

Actually, that’s quite normal and it may seem dull and stupid, but then you’ll realize how useful it is. Some people have the same reaction towards graphic design. Most Universities won’t even teach how to use Photoshop. You’ll do everything hand-made, the first semester you may ask yourself why, but then when you go down into doing hardcore stuff, you’ll see how natural everything feels later.

> [@fragfest2012;194548](#):
>
> Now that I do know. Low level programming classes are the WORST! They make you use all these outdated or otherwise useless techniques, when you know of a hundred better ways to do what they are asking. Thing is, if you do it the correct way (in real life, not the way they want), you fail. It’s really dumb, and I’m sorry you have to put up with it.

Did you know that the most payed positions aren’t nowadays for C++ users, right? Mostly are for pascal, cobol and several other programming languages mostly because they’re so old there aren’t enough people to use them properly. And a lot of banks haven’t yet updated their systems. Never disregard any kind of basic knowledge, you never know when it may come in handy ;D

Now, on topic: I just hope my DX10 vga -nvidia 9800- can handle the , it barely handles UE4 on its own lol

---

<div class="post-metadata">

**Author:** ![iniside](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/iniside/32/866315_2.png) [@iniside](https://forums.unrealengine.com/u/iniside)\
**Post date:** [December 18, 2014, 7:22am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/165 "2014-12-18T07:22:59Z")

</div>

> [@;194585](#):
>
> Did you know that the most payed positions aren’t nowadays for C++ users, right? Mostly are for pascal, cobol and several other programming languages mostly because they’re so old there aren’t enough people to use them properly. And a lot of banks haven’t yet updated their systems. Never disregard any kind of basic knowledge, you never know when it may come in handy ;D
> 
> Now, on topic: I just hope my DX10 vga -nvidia 9800- can handle the , it barely handles UE4 on its own lol

Ok. Don’t want to drag it to long, but I think there is huge difference between basic knowlegde and coding computer program on paper.

I know only basics of pascal. But with some proper editor I could prolly write program in it, in less than hour. The real challenge is learning the framework and API.

---

<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:** [December 18, 2014, 7:23am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/166 "2014-12-18T07:23:32Z")

</div>

> [@;194522](#):
>
> Thanks for the support people!. I’m gonna be short on updates until the 23, that I have my last exam. I was originally going to end with my exams on Sunday, but the f\*\*\* made me loose one subject I thought I had passed cause i copied a few more items, so while my exercise was correct, it wasn’t exactly the one they were asking . Was more difficult to be honest. I’m gonna fight that 8 points I need tomorrow, but I know I ain’t gonna get them, so have to study for the exam of that subject, that’s due the 23. Sorry bout the rant, was blowing some steam off.

Go get’em mate ! Goodlcuk and Godspeed ! 😃

---

<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:** [December 18, 2014, 12:51pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/167 "2014-12-18T12:51:50Z")

</div>

> [@;194585](#):
>
> Now, on topic: I just hope my DX10 vga -nvidia 9800- can handle the , it barely handles UE4 on its own lol

Sorry to tell you man, but dx 11 only. Well, it maybe could be done to work on dx 10, but that ain’t gonna happen any time soon sadly

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9ca0b5cd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9ca0b5cd](https://forums.unrealengine.com/u/anonymous_user_9ca0b5cd)\
**Post date:** [December 19, 2014, 12:31am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/168 "2014-12-19T00:31:36Z")

</div>

looks lovely. Keep up the good work!

---

<div class="post-metadata">

**Author:** ![RPotter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RPotter](https://forums.unrealengine.com/u/RPotter)\
**Post date:** [December 19, 2014, 1:04am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/169 "2014-12-19T01:04:13Z")

</div>

> [@fragfest2012;194548](#):
>
> Now that I do know. Low level programming classes are the WORST! They make you use all these outdated or otherwise useless techniques, when you know of a hundred better ways to do what they are asking. Thing is, if you do it the correct way (in real life, not the way they want), you fail. It’s really dumb, and I’m sorry you have to put up with it.

Define useless and outdated. Assembly? You likely won’t write ASM, but being able to read it is extremely useful debugging, especially if you must do so cross-platform. Memory management? More important now than ever. Insertion sort may be simple, but in practice its actually damned useful as most tasks actually require you to _keep_ something sorted, rather than sort at once.

I do think Linked lists are almost never useful, though.

---

<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:** [December 19, 2014, 1:36am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/170 "2014-12-19T01:36:29Z")

</div>

> [@RPotter;195015](#):
>
> Define useless and outdated. Assembly? You likely won’t write ASM, but being able to read it is extremely useful debugging, especially if you must do so cross-platform. Memory management? More important now than ever. Insertion sort may be simple, but in practice its actually damned useful as most tasks actually require you to _keep_ something sorted, rather than sort at once.
> 
> I do think Linked lists are almost never useful, though.

Agree that there are a lot of low level stuff that is really useful. To be honest, I love low level programming.  
I’m gonna speak for my course, but here they make us learn Pascal. They say they teach the basic of programming, bur what they evalute is actually how you can solve things on Pascal on a sheet of paper, or not even that. For example, a topical question of the first exam, that is multiple option is a pice of Pascal code and the question is “what does the program prints on the screen after running 3 times?”. Quite useless if you ask me.

Anyway, don’t really know why I started all discussion, let’s stay on topic people

---

<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:** [December 19, 2014, 1:40am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/171 "2014-12-19T01:40:59Z")

</div>

> [@;195022](#):
>
> Agree that there are a lot of low level stuff that is really useful. To be honest, I love low level programming.  
> I’m gonna speak for my course, but here they make us learn Pascal. They say they teach the basic of programming, bur what they evalute is actually how you can solve things on Pascal on a sheet of paper, or not even that. For example, a topical question of the first exam, that is multiple option is a pice of Pascal code and the question is “what does the program prints on the screen after running 3 times?”. Quite useless if you ask me.
> 
> Anyway, don’t really know why I started all discussion, let’s stay on topic people

Yeah, anyhow. Don’t worry about the DX10, if I can use the and then test it on another computer with the build, is fine by me 😃

---

<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:** [December 19, 2014, 1:59am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/172 "2014-12-19T01:59:26Z")

</div>

> [@;195024](#):
>
> Yeah, anyhow. Don’t worry about the DX10, if I can use the and then test it on another computer with the build, is fine by me 😃

Just so we are on the same page, it won’t be a . I’m working directly on the source, so the idea is to get it stable enough so that It can be joined in the main branch. There’s still a lot of time between now and then . I’ll release a couple demos, just wait… And I’m gonna need some kind of open beta to test it, but I’m still unsure how to do that, as I believe the EULA forbids me from sharing builds of the engine. Binaries I mean. But that’s a problem for another time, there’s a lot of work left to do before I get there

---

<div class="post-metadata">

**Author:** ![RPotter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RPotter](https://forums.unrealengine.com/u/RPotter)\
**Post date:** [December 19, 2014, 2:55pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/173 "2014-12-19T14:55:27Z")

</div>

> [@;195029](#):
>
> Just so we are on the same page, it won’t be a . I’m working directly on the source, so the idea is to get it stable enough so that It can be joined in the main branch. There’s still a lot of time between now and then . I’ll release a couple demos, just wait… And I’m gonna need some kind of open beta to test it, but I’m still unsure how to do that, as I believe the EULA forbids me from sharing builds of the engine. Binaries I mean. But that’s a problem for another time, there’s a lot of work left to do before I get there

. You can share your branch

---

<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:** [December 19, 2014, 3:01pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/174 "2014-12-19T15:01:30Z")

</div>

> [@RPotter;195286](#):
>
> . You can share your branch

I know, I know. I just don’t want to share the code until I’m closer to integrate it, hope you understand

---

<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:** [December 19, 2014, 3:19pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/175 "2014-12-19T15:19:14Z")

</div>

Yeah by the way if you want beta testers I am here whenever you are ready 😃

---

<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:** [December 22, 2014, 1:56am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/176 "2014-12-22T01:56:02Z")

</div>

I finished my exams people! (at least until February), so that means I’ll be coding 24/7. I want to solve a few stability errors first, one that I can’t select the objects on the editor with AHR enabled, and the other that when I run the game, the GI buffer gets all distorted, like there’s some kind of mixed resolution error. After I get that two things working, or at least I pin them down, I’ll get to add RSM, and after that the basic implementation should be working, as the code for the GI tracing is already there, but given I don’t have RSMs yet, I can only output AO. I expect tracing times to be mostly the same, but can’t talk about the RSM bulding time. BTW, I have thought of a method to voxelize the static geometry only once, so that should increase performance quite a bit.  
Cya!

EDIT: One of two solved. The “can’t select objects thing” was solved just by moving stuff around. Seems to be working now  
EDIT 2: Well, solved the other thing. Was that the editor had reverted to the lowest quality settings for some reason. Working 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:** [December 24, 2014, 10:48pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/177 "2014-12-24T22:48:52Z")

</div>

Well people, Merry Christmas ! I fixed a few errors on my voxelization code, and now I’ll get into RSM. Well, I already played with them, but I can’t get Epic’s implementation to work. What is the matrix I have to use! I tried a lot of things, but can’t get the projection to work on the tracing side. If anyone knows that, will be really helpful, as that’s the only bit left until we have full GI + reflections. Anyhow, I think I’ll code my own RSM path

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_138c2332](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_138c2332](https://forums.unrealengine.com/u/anonymous_user_138c2332)\
**Post date:** [December 24, 2014, 10:55pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/178 "2014-12-24T22:55:29Z")

</div>

Merry Christmas to you , hopefully before the new Christmas you’ll be working at EPIC.

---

<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:** [December 24, 2014, 11:05pm UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/179 "2014-12-24T23:05:01Z")

</div>

> [@Errvald;197250](#):
>
> Merry Christmas to you , hopefully before the new Christmas you’ll be working at EPIC.

One can dream right?

---

<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:** [December 25, 2014, 8:08am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/180 "2014-12-25T08:08:57Z")

</div>

> [@;197249](#):
>
> If anyone knows that, will be really helpful,

We need a moderator or someone from Epic right now ! Try to PM some of them .

---

<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:** [December 25, 2014, 11:21am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/181 "2014-12-25T11:21:19Z")

</div>

> [@TAN\_;197340](#):
>
> We need a moderator or someone from Epic right now ! Try to PM some of them .

You know anyone? I actually I don’t know who to ask 😉  
Is only the matrix really, if I solve that I’ll have GI and reflections working

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_138c2332](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_138c2332](https://forums.unrealengine.com/u/anonymous_user_138c2332)\
**Post date:** [December 25, 2014, 11:58am UTC](https://forums.unrealengine.com/t/realtime-dynamic-gi-reflections-ao-emissive-ahr/11923/182 "2014-12-25T11:58:43Z")

</div>

> [@;197362](#):
>
> You know anyone? I actually I don’t know who to ask 😉  
> Is only the matrix really, if I solve that I’ll have GI and reflections working

Give Answerhub a try: [https://answers.unrealengine.com](https://answers.unrealengine.com)

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

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