UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Programming
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
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes

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 any additional object in the scene.

Notice
If 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 Disable angle setting for the WorldLight defining a critical angle above the horizon, where the light source is still enabled.

Last update: 2019-04-04