This page has been translated automatically.
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
Программирование
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
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Omni Light Source

The omni light is a point source emitting light in all directions (360  degrees) and realistically reproducing shadow cast. This type of light serves to simulate light sources with bright center and equal roll-off of intensity. An example of such a light is an ordinary household lightbulb, uncovered and hanging from the ceiling. Omni Light proves useful for general lighting purposes in indoor scenes because of its nondirectional qualities.

Please note that as Omni Light uses cubemap modulation, the shadowing by this source requires 6 passes and can be expensive.

Omni Light has a variety of shapes and, therefore, can be used to create area lights, for example, realistic interior or street lights.

Example scene that uses Omni Light

See Also#

Adding Omni Light#

To add Omni Light, do the following:

  1. On the Menu bar, click Create -> Light -> Omni

  2. Place the light somewhere in the world.

Setting Omni Light Parameters#

Parameters of Omni Light can be adjusted on the Node tab of the Parameters window. Both common parameters and the parameters specific for the omni light source are available. The specific ones are described below.

Light Settings#

Texture A cubemap texture projected by the omni light. Such modulations allow you to re-light the affected scene area in a new way at the same performance cost, create variegated light scattering patterns and, for example, imitate several light sources.

Cubemap texture

Modulation by texture

Shadow Settings#

Enabled Toggles rendering of shadows produced by this light source on and off.
Shadow Side Enabled The omni light makes shadows to be cast to the six cubemap sides. By default, shadows are cast in all directions: positive and negative X axis, positive and negative Y axis, and positive and negative Z axis. Any direction can be disabled, if necessary.
Last update: 16.08.2019
Build: ()