# Screen Space Global Illumination (SSGI)

**URL:** <https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [March 10, 2019, 9:24pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392 "2019-03-10T21:24:28Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [October 1, 2019, 11:21pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/21 "2019-10-01T23:21:20Z")

</div>

> [@anonymous\_user\_11d606da](#):
>
> It does work in 4.23 by enabling through the CVars.

Right, but does it work with forward shading and in VR ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_11d606da](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_11d606da](https://forums.unrealengine.com/u/anonymous_user_11d606da)\
**Post date:** [October 2, 2019, 7:40am UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/22 "2019-10-02T07:40:32Z")

</div>

> [@motorsep](#):
>
> Right, but does it work with forward shading and in VR ?

Haven’t tested that. But knowing how limited rendering features are in Forward Rendering, I would guess no. If you have a VR project setup already you should simply make a quick test by enabling it.

---

<div class="post-metadata">

**Author:** ![XilenceX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XilenceX](https://forums.unrealengine.com/u/XilenceX)\
**Post date:** [October 10, 2019, 4:21pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/23 "2019-10-10T16:21:06Z")

</div>

> [@anonymous\_user\_11d606da](#):
>
> The SSGI looks amazing, but it’s just not usable, basically like raytracing.

Why would you say it’s not useable?  
SSGI looks amazing in my test level as well and it has WAY lower performance impact than raytracing on my GTX 1080.  
Seems pretty good to me. I’m really looking forward to the 4.24 official release of SSGI! 😃  
I also want a technique to combine with SSGI, maybe raytracing, but I don’t like the “noisy” look of it by default…

Another alternative might be: SSGI for everyone by default.  
RTXGI with high resolution/bounces settings as an option to activate in the in-game options menu for high end gaming PCs.  
And ofc. RTXGI to show off the game in screenshots, trailers etc. 😉

---

<div class="post-metadata">

**Author:** ![neighborlee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neighborlee/32/1108786_2.png) [@neighborlee](https://forums.unrealengine.com/u/neighborlee)\
**Post date:** [October 12, 2019, 12:55pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/24 "2019-10-12T12:55:28Z")

</div>

LOve to test it as so frustated with lighting large outdoor areas I’m creating. If you’re GTX 1080 is doing well,my GTX 950 is worthy trying as I push forward soon with a much better card. Ty for post about that .

---

<div class="post-metadata">

**Author:** ![Mitch\_Mitchell](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mitch_mitchell/32/909094_2.png) [@Mitch\_Mitchell](https://forums.unrealengine.com/u/Mitch_Mitchell)\
**Post date:** [October 17, 2019, 12:49pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/25 "2019-10-17T12:49:40Z")

</div>

https://trello.com/c/9w1HRJZH.html

It’s completed for 4.24

---

<div class="post-metadata">

**Author:** ![Pouke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pouke](https://forums.unrealengine.com/u/Pouke)\
**Post date:** [October 29, 2019, 7:54am UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/26 "2019-10-29T07:54:05Z")

</div>

Hello there,

I’m testing SSGI in 4.23 version and for now my result is pretty noisy

I tested with r.ScreenSpaceRendering 1 and r.ScreenSpaceRendering 4, there is a difference but still insufficient. (cf screenshot)

I checked the code and they clamp quality to a max of 4.  
const int32 Quality = FMath::Clamp( CVarSSGIQuality.GetValueOnRenderThread(), 1, 4 );  
Is there a way to reduce that noise in 4.23 version? If not someone would know if it’s fixed in 4.24?

---

<div class="post-metadata">

**Author:** ![rosegoldslugs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rosegoldslugs](https://forums.unrealengine.com/u/rosegoldslugs)\
**Post date:** [October 29, 2019, 5:25pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/27 "2019-10-29T17:25:25Z")

</div>

> [@Pouke](#):
>
> Is there a way to reduce that noise in 4.23 version? If not someone would know if it’s fixed in 4.24?

Yes, inside the DiffuseIndirect shader in the new folder dedicated to SSR and SSGI. It functions similarly to SSR, so you can increase the number of steps along the ray(improves depth testing making it more accurate along edges) and the number of samples(reduces noise).

4.23 SSGI is still fairly expensive by default, so increasing these values will just make it even more expensive. 4.24 has improvements to SSGI that make it a little more production friendly, but I never tested the quality levels in a clean environment to see if the defaults were super noisy.

---

<div class="post-metadata">

**Author:** ![neighborlee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neighborlee/32/1108786_2.png) [@neighborlee](https://forums.unrealengine.com/u/neighborlee)\
**Post date:** [October 30, 2019, 6:21pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/28 "2019-10-30T18:21:48Z")

</div>

> [@Mitch\_Mitchell](#):
>
> [Trello](https://trello.com/c/9w1HRJZH)
> 
> It’s completed for 4.24

Thanks for verify:)

---

<div class="post-metadata">

**Author:** ![EssEnsE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EssEnsE](https://forums.unrealengine.com/u/EssEnsE)\
**Post date:** [November 7, 2019, 12:57pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/29 "2019-11-07T12:57:28Z")

</div>

SSGI does not work without TemporalAA(

---

<div class="post-metadata">

**Author:** ![scha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scha/32/1135430_2.png) [@scha](https://forums.unrealengine.com/u/scha)\
**Post date:** [January 18, 2020, 12:13pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/30 "2020-01-18T12:13:19Z")

</div>

> [@motorsep](#):
>
> Right, but does it work with forward shading and in VR ?

For me it’s not working in VR even with TAA, it simply makes each eye see different kind of shadow. 4.24

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [January 20, 2020, 1:04am UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/31 "2020-01-20T01:04:18Z")

</div>

> [@scha](#):
>
> For me it’s not working in VR even with TAA, it simply makes each eye see different kind of shadow. 4.24

That’s … upsetting, but I am hardly surprised - Epic doesn’t seem to care for VR much at this point.

---

<div class="post-metadata">

**Author:** ![ioFlow\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ioflow_studios/32/1194555_2.png) [@ioFlow\_Studios](https://forums.unrealengine.com/u/ioFlow_Studios)\
**Post date:** [May 20, 2020, 1:26pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/32 "2020-05-20T13:26:43Z")

</div>

That’s a shame, pretty sure if SSGI worked in VR, my work would consider doing their first project in UE4 (as opposed to Unity).

---

<div class="post-metadata">

**Author:** ![K\_Storm\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/k_storm_studio/32/760100_2.png) [@K\_Storm\_Studio](https://forums.unrealengine.com/u/K_Storm_Studio)\
**Post date:** [May 20, 2020, 3:13pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/33 "2020-05-20T15:13:14Z")

</div>

I’m using the SSGI in combination with LPV and despite it is a bit slow in rendering I think it produces amazing! results!

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [May 20, 2020, 3:18pm UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/34 "2020-05-20T15:18:47Z")

</div>

> [@anonymous\_user\_a9cbb2561](#):
>
> I’m using the SSGI in combination with LPV and despite it is a bit slow in rendering I think it produces amazing! results!

Works in VR ? How slow ?

---

<div class="post-metadata">

**Author:** ![Murnavid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Murnavid](https://forums.unrealengine.com/u/Murnavid)\
**Post date:** [October 9, 2020, 6:02am UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/35 "2020-10-09T06:02:11Z")

</div>

but for me theres a problem. the SSGI turns off/on and increases/decreases when moving the camera. why is that?

---

<div class="post-metadata">

**Author:** ![ambershee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ambershee](https://forums.unrealengine.com/u/ambershee)\
**Post date:** [October 9, 2020, 7:48am UTC](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392/36 "2020-10-09T07:48:32Z")

</div>

> [@Murnavid](#):
>
> but for me theres a problem. the SSGI turns off/on and increases/decreases when moving the camera. why is that?

Simply because it’s screen space; it only works with information present on the screen. It’s not really suitable for moving cameras.

[Previous page](https://forums.unrealengine.com/t/screen-space-global-illumination-ssgi/123392.md?page=1)
