Jump to content
  • entries
    944
  • comments
    5,899
  • views
    929,524

Ambient Light Research Pt 2


Josh

2,302 views

 Share

After a resolving a few odd and ends I was able to create a proof of concept of the deferred environment probe idea I talked about earlier. The environment probe is basically the same as a point light. They have a range and affect a finite area. The color property can be used to adjust the intensity of the ambient lighting / reflections. Basically, you want to cover your indoor environments with these, but it's okay if you miss some spots. The environment probes fade out gradually so you don't have to be too strict about coverage. Also, if two proves overlap the brightest value will be used, but they will not add their lighting together.

 

blogentry-1-0-27216400-1462511053_thumb.jpg

 

There are still some issues to figure out, like how to control the miplevel that is used in the cubemap lookup and how to automate cubemap rendering in the editor. I'm not going to try to make the cubemaps update in real-time in the game, because it would be too slow.

 

The screenshots below show the same scene with flat ambient lighting:

blogentry-1-0-11665700-1462550835_thumb.jpg

 

And with an environment probe placed in the scene:

blogentry-1-0-60096300-1462550841_thumb.jpg

  • Upvote 8
 Share

6 Comments


Recommended Comments

So the environment is reflecting on the guy? Is this like a mirror effect or is it just light colour/intensity? A before and after would be good to see the difference.

Link to comment

The highlights on the wall behind him show the effect very clearly. That's just an unlit flat ambient surface with no direct lighting.

Link to comment

Interesting stuff that should make for some nice visuals. Is probe exaggerated/full intensity in the screenshot to show the effect?

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...