# DFGI issues in 4.13

**URL:** <https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [November 15, 2016, 12:38am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339 "2016-11-15T00:38:10Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 12:38am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/1 "2016-11-15T00:38:10Z")

</div>

So in 4.13.2, I can’t get dfgi to work. Dfao works fine (albeit with some strange artifacting) and all looks good in distance field visualization, but r.distancefieldgi has no effect. On a potentially related note, dfgi causes a crash when launching or packaging (haven’t really debugged, just build failed unknown err). Indirect lighting strength does actually have an effect though… it causes point lights (seemingly from lpv) to pop up all over the place, and pretty randomly at that. Lpv settings in an unbound post process volume have seemingly no effect (including injection bias, my first guess). I’ll provide images soon. Also, there is no dfgi-specific visualizer button showing up.

Thanks everyone!

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 1:40am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/2 "2016-11-15T01:40:44Z")

</div>

Alright so on a potentially related note, for some reason, I decided to switch shader model to mobile, and when I switched back, my screen antialiasing is behaving strangely, (all settings at epic by the way), and the environment doesn’t move unless I move around (all aspects, materials, particles, everything). My particlesystems won’t spawn either. Everything works fine when I launch or package though! I’ll provide screenshots of the lpv being weird as discussed above:

Below you can see evidence of DFAO functioning properly

 ![Untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/8/a85135885214bfcb5e357fc8b86f118b8b61f2cf.jpeg)

Here you can see the scene:

 ![ScreenShot00000.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/a/6adc047ac5208026174bd925d90f3b6a52648143.png)

Here you can see zoomed in to the area below (as to remove bloom effect) the cube (emissive shading RGB = 10,10,0).

 ![ScreenShot00001.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/2/3270fd3f018888b9e0f00049e07fa1837dcff7ed.png)

Please note, the skylight and directional light are set to movable, i added an extra command to ensure mesh lpv is set to 1, indirect lighting is turned up, and in general, fiddling with settings does nothing…

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 1:47am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/3 "2016-11-15T01:47:23Z")

</div>

Another image with different emissive settings, and light propagation volume visualization

 ![ScreenShot00002.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/f/3fad5bd764fdfd5a5e84d5574e34ee7dfe5fdafb.png)

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 1:47am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/4 "2016-11-15T01:47:57Z")

</div>

FYI, in the above, there is no actual lighting going on on the surface below, emissive strength is just multiplied…

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 1:56am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/5 "2016-11-15T01:56:44Z")

</div>

So on another related note (and I’m truly sorry for the spam replies, though, to be completely honest, I don’t see anything wrong with them from a user and not moderator’s perspective), I can’t reproduce the lighting effect with the weird LPV from earlier, but I can tell you, it looked something like this:

 ![Untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/0/1070a12a1eb473f7a05b18a41dcdba7295d34453.png)

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 2:15am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/6 "2016-11-15T02:15:51Z")

</div>

Alright so, in order to help with troubleshooting, I’m going to continue to post updates:

I just discovered indirect lighting is, to some extent, working, but not with distance fields:

 ![ScreenShot00001.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/5/b585baf7bd49c998f295cc5a2f226692dbdca076.png)

Also, here’s the weird LPV I talked about:

 ![ScreenShot00001.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/5/b585baf7bd49c998f295cc5a2f226692dbdca076.png)

In the upper picture, I use the red cube, but it is only shining light when exposed to the directional light behind the wall (outside), and the light bleeds through (hinting that distance field not happening but instead, LPV, as light bleeding is considerably less present in DFGI).

In the below picture, you can see the strange spots I talked about. They clearly behave strangely.

Changin LPV settings from defaults (as seen below vs above), has no effect:  
(actually, I’m getting “database error” from forums…  
just take my word for it 😃

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 2:17am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/7 "2016-11-15T02:17:22Z")

</div>

Opps wrong second picture… here is correct one:

 ![ScreenShot00000.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/8/88480275850c1db64ef101fd92333689f6171207.png)

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 2:18am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/8 "2016-11-15T02:18:19Z")

</div>

I’d like to troubleshoot hat weird anti aliasing visible in the lights as well, really grainy in general, seemingly related to normal maps…

---

<div class="post-metadata">

**Author:** ![JoeWintergreen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joewintergreen/32/1194565_2.png) [@JoeWintergreen](https://forums.unrealengine.com/u/JoeWintergreen)\
**Post date:** [November 15, 2016, 7:45am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/9 "2016-11-15T07:45:46Z")

</div>

Probably start with the fact that LPV and DFGI are different GI systems unconnected with each other and you shouldn’t be trying to use both at once

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 11:38am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/10 "2016-11-15T11:38:59Z")

</div>

Oh… Ok that’s interesting. Thought you had to… I’m really sorry, thats a pretty silly mistake. I did test with DFGI alone in the past and it wan’t doing anything, I thought they had to be used together. My apologies.

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 9:40pm UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/11 "2016-11-15T21:40:42Z")

</div>

> [@JoeWintergreen;623435](#):
>
> Probably start with the fact that LPV and DFGI are different GI systems unconnected with each other and you shouldn’t be trying to use both at once

Alright so with dfgi alone enabled, I’m getting similar results. Emissive meshes alone without a directional light don’t produce any glow either… Is that supported? (emissive DFGI)

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 9:46pm UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/12 "2016-11-15T21:46:43Z")

</div>

Same results:

 ![ScreenShot00005.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/3/436f5e0f8ca25d52a56e1e3a5f09fb82db0e4019.png)

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 9:50pm UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/13 "2016-11-15T21:50:30Z")

</div>

Yeah, the spots on the walls are affected by iindirect llighting intensity only of the directional light. This applies to the test scene seen earlier with the cube…

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 15, 2016, 11:36pm UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/14 "2016-11-15T23:36:03Z")

</div>

![ScreenShot00001.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/d/7d3d9b2bfbfaad9c5913ebfc293ed02bb0c24b41.png)

Yeah this is definitely a basic matter of user error  
The above is a screenshot out of a fresh new install of 4.14.0  
Notice the pink circle that appears on the lower left hand side of the rear wall…  
Movable skylight and directional light, but skylight settings other than immovability have no effect.  
“Affect indirect lighting” on an emissive cube had no effect in the same scene, but “affect distance field lighting” did.

Hopefully this narrows things down. Dfgi=1 is the only command used (typed properly of course)

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 16, 2016, 12:03am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/15 "2016-11-16T00:03:14Z")

</div>

I tested a landscape, height field GI is definitely working…

---

<div class="post-metadata">

**Author:** ![JoeWintergreen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joewintergreen/32/1194565_2.png) [@JoeWintergreen](https://forums.unrealengine.com/u/JoeWintergreen)\
**Post date:** [November 16, 2016, 1:54am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/16 "2016-11-16T01:54:45Z")

</div>

Pretty sure DFGI doesn’t support emissives, spotlights or pointlights. Just directional light, and needs a skylight to work at all.

---

<div class="post-metadata">

**Author:** ![Skunkmeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skunkmeister](https://forums.unrealengine.com/u/Skunkmeister)\
**Post date:** [November 16, 2016, 2:34am UTC](https://forums.unrealengine.com/t/dfgi-issues-in-4-13/78339/17 "2016-11-16T02:34:45Z")

</div>

Ok. Regardless, even with a skylight, and directional light, it isn’t functioning properly. I’ve provided as much info as possible, what can I do to troubleshoot?
