LightsprintSDK 2021.08.08
Realtime lighting

Features

Lightsprint uses the same API for both realtime and Offline calculations. Naturally only subset of functions is fast enough to be used in realtime.
Features designed for realtime use include:

  • calculate global illumination in dynamic scenes
    • freely manipulate objects
    • freely manipulate lights
    • freely manipulate environment/skybox (GI updated in realtime only with Fireball)
  • update Vertex buffer with indirect lighting for static objects
  • update Environment map with indirect lighting for dynamic objects

Optional precalculations

Realtime rendering with global illumination is available immediately after new scene is loaded, no preprocessing/precalculations are needed.

However, better results are possible with Fireball. It uses precalculation phase in which static scene is analyzed. It takes some time, but then rendering is faster and quality higher.

Sample

Realtime lighting is demonstrated in RealtimeRadiosity and RealtimeLights samples. You can comment out line that enables Fireball to compare both realtime solvers. SceneViewer sample supports both solvers without any source changes, you can select which one to use in Global Illumination panel.