This page has been translated automatically.
Программирование
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Scattering

The atmosphere rendering is based on interpolation between several LUTs (Look-Up Textures) describing different states of the sky during the day.

The environment scattering of the scene can be adjusted in the Environment tab of the Rendering Settings or programmatically by using the Render class.

The built-in WorldLight dynamic environment cubemap automatically generates lighting and reflections for all objects in the scene. The result depends on the position of the Sun and Moon. It acts similarly to the infinitely large environment probe, but works faster and doesn't require placing addition object to the scene.

Notice
In cases when you need to change reflections locally, for example, indoors, use the environment probe with the unique cubemap.

Sun and Moon

The WorldLight Scattering option provides the following lighting types:

  • None — render the atmosphere as if there were no global lights, that is, there will be no sky color gradient in any direction.
  • Sun — render the atmosphere in accordance with the Sun's lighting.
  • Moon — render the atmosphere in accordance with the Moon's lighting.

There is also a new Disable angle setting for LightWorld defining a critical angle above the horizon, where the light source is still enabled.

Last update: 20.10.2017
Build: ()