Environment Probes

Moderator: andrewmac

6 posts Page 1 of 1
andrewmac
Posts: 295
Joined: Tue Feb 03, 2015 9:45 pm
 
by andrewmac » Sun Mar 20, 2016 8:00 pm
There is still a number of problems to fix but I really want to show some of this off so I'm going to show it in-progress. We now have environment probes in addition the skylight. They can be optionally box projected which can give inexpensive reflections to scenes that fit it well. With box projected enabled you fit a volume to the room and the reflections are corrected for it. If the box doesn't fit the scene you can fall back on normal projection which makes the reflections inaccurate but still gives a nice look in a lot of scenes. Screen space reflections will be the last piece of the puzzle. Where SSR doesn't cover, environment probes will make up. Where environment probes don't cover the sky light will fill in for.

Note: these are not real time and I don't intend them to be. Processing the captured cubemaps to create proper irradiance/radiance cubemaps for PBR is not fast enough to do in real time. They are captured and processed when the engine is ran before the scene starts. They only show static objects.

No Box Projection:
Image

With Box Projection:
Image

Nice shots of red wall impact on rough surface:
Image
Image

There are still issues I'm working through on the probes so don't judge the lighting too hard at the moment.
andrewmac
Posts: 295
Joined: Tue Feb 03, 2015 9:45 pm
 
by andrewmac » Sun Mar 20, 2016 8:48 pm
Bonus shot, no skybox:
Image
andrewmac
Posts: 295
Joined: Tue Feb 03, 2015 9:45 pm
 
by andrewmac » Sun Mar 20, 2016 9:12 pm
Emissive green wall:
Image
Timmy
Posts: 238
Joined: Thu Feb 05, 2015 3:20 am
by Timmy » Mon Mar 21, 2016 4:07 am
Looking good, nice work :mrgreen:
andrewmac
Posts: 295
Joined: Tue Feb 03, 2015 9:45 pm
 
by andrewmac » Tue Mar 22, 2016 1:56 am
I *think* I've got the math all correct now at least without the SkyLight component. :
Image

SkyLight will take a little maneuvering to get right. Need to make sure I don't light the scene with the sky multiple times across multiple probes. That's what caused some of those first screenshots to get so washed out with light. Conservation of energy my dear watson.
Steve_Yorkshire
Posts: 189
Joined: Tue Feb 03, 2015 10:30 pm
 
by Steve_Yorkshire » Tue Mar 22, 2016 4:02 pm
Shiny
:D
6 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest