Archive 17/01/2023.

Screen Space Global Illumination Experiment

artgolf1000

Hi,

I have put it on Github, it can run on mobile devices now, enjoy it!

https://github.com/meshonline/Screen-Space-Global-Illumination

sabotage3d

Nice! Do you have video?

Lumak

Is it only the floor lighting? That’s the only difference that I see between SSGI and ORIGIN pics. Maybe I’m just blind.

Edit: well now that you’ve replaced your original screenshots, my previous comment is kind of moot.

codingmonkey

Nice feature!
But I guess it’s broken because in Editor’s viewport it’s not working properly
I even try to increase among of GI by commenting line : //gi /= float(GRID_COUNT * GRID_COUNT);

sabotage3d

Roughly what FPS can you achieve on mobile with this technique?

artgolf1000

It does not support Editor at present, since the render path is special.

To get best result, please set FarClip to smaller value, and only set material of ‘DiffCull.xml’ to front objects.

I just tested the performance, Running in Xcode, 60 FPS on my iPad Mini Retina in debug mode.

The video is recorded from my iPad Mini Retina:
youtu.be/M9cXRAHMhXY
[video]https://youtu.be/M9cXRAHMhXY[/video]