UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1

Lighting

While the 3D geometry defines the shape of your content, lighting is the basis of every virtual scene as illuminating the scene it provides colors and final look of your objects. Due the to performance issues, usually lighting in the scenes can consist of:

  • Static (precomputed) light sources — an efficient and utile solution for lighting of relatively static scenes. It allows dropping the most of lighting computations, leaving only simple texture lookups to be performed at the rendering time. But these methods still only roughly simulate the lighting for the moving objects entering the scene and sometimes lack physical accuracy registered by the eye.
  • Dynamic light sources — customizable solution providing real-time lighting calculation. This advanced solution looks very realistic, as it can illuminate dynamic objects, light sources can be themselves moving and changing (for example, turned on and off). However, it is a very expensive operation in terms of performance.

Last update: 2017-07-03