Difference between revisions of "Light probes"

From Divinity Engine Wiki
Jump to: navigation, search
(Types)
(General)
Line 4: Line 4:
 
= General =
 
= General =
  
Light probes are the Larian Engine's system for indirect lighting and reflections. <br />
+
Light probes are the Larian Engine's system for indirect lighting and reflections. A pre-calculated approximation to global illumination.<br />
 
In short, a light probe is an object you place in the level. It looks at the surrounding lighting and objects and uses that information to calculate realistic indirect lighting.<br />
 
In short, a light probe is an object you place in the level. It looks at the surrounding lighting and objects and uses that information to calculate realistic indirect lighting.<br />
 
This includes light bouncing off of objects, causing colors to carry over to nearby objects (this effect is called ''color bleeding''). <br />
 
This includes light bouncing off of objects, causing colors to carry over to nearby objects (this effect is called ''color bleeding''). <br />
Line 10: Line 10:
  
 
<br />
 
<br />
 +
 
= Types =
 
= Types =
  

Revision as of 20:06, 9 August 2017

File:Lightprobes-banner.png


General

Light probes are the Larian Engine's system for indirect lighting and reflections. A pre-calculated approximation to global illumination.
In short, a light probe is an object you place in the level. It looks at the surrounding lighting and objects and uses that information to calculate realistic indirect lighting.
This includes light bouncing off of objects, causing colors to carry over to nearby objects (this effect is called color bleeding).
It also provides accurate reflections of surrounding objects.


Types

There are 2 types of light probes, used for different parts of the overall lighting.

Distant

Lightprobes-distant.png

Distant probes are used to account for far away lighting information: the sun and sky.
It uses the information of the surrounding atmosphere to apply an approximation of sun and sky light bouncing and color bleeding to everything in that atmosphere.
Since the probe contains atmosphere information, it applies to everything in that atmosphere. So in editor terms, you only need one distant probe per atmosphere trigger.

For more information on atmospheres, look here: Atmosphere panel
More information on atmosphere triggers can be found here: Triggers

Local

Lightprobes-local.png

Local probes are used to simulate color bleeding and reflections related to nearby lights and objects.
Local probes only gather information within a defined area around them and thus, only apply to objects in that same area.
Contrary to distant probes, you can place as many local probes as you want. Even probes inside other probe areas are allowed. This way, you can fine-tune


Usage


Shapes


Atmospheres


Best Practice