User Tools

Site Tools


global_illumination

This is an old revision of the document!


Global Illumination


- Overview of global illumination, generally works best for indoor/interior maps with lower energy values for the directional light. It can provide better quality lighting when enabled for a map, but at the cost of performance, so use it cautiously.

Global illumination can be enabled from the Map Properties panel.

The images below show an example map before and after global illumination has been enabled.

- Subdivisions setting determines the quality of the lighting (more subdivisions takes more performance), but best to experiment as to what looks best for a particular map

- Need to click Bake button after changing number of subdivisions or changing an entity's “Use in Baked Light” setting (see below)

Excluding Entities

- The “Use in Baked Light” setting on Entity Properties panel indicates whether or not the entity should be used in the global illumination calculations (This is enabled for entities by default, and should typically be disabled for mobile characters or animated objects that change significantly. As mentioned above, the Bake button on the Map Properties panel should be clicked again in order for the lighting to be properly updated after modifying this setting for any entities.

In the images below, the map on the left has not had any entities excluded from the baked lighting. In the map on the right, the characters and container objects have been excluded. This can also serve as a subtle indication to the player of entities that can be interacted with in some way.

global_illumination.1618897780.txt.gz · Last modified: 2021/04/19 22:49 by justin