Lighting

Lighting Overview

Proper use of lighting can provide realistic rendering effects. This section includes the following information:

It should be noted that the number of direct lights affects performance loss. The engine limits the number of each type of direct light to no more than 10. It is generally recommended to use ambient light + some direct lights for embellishment.

Direct Light

Direct light usually shines from an area or in a specific direction, entering the eye (camera) directly after one reflection.

Indirect Light

Ambient light is emitted from all around and enters the eye.

Real-time Lighting and Baked Lighting

Real-time lighting refers to Galacean calculating lighting in real-time during runtime. Baked lighting refers to Galacean performing lighting calculations in advance and baking the results into binary files (including diffuse spherical harmonics parameters and pre-filtered environment maps), and then sampling them in real-time during runtime.

Was this page helpful?