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.

Volume Omni

Volume omni is used to create a visible volume of light emitted from a flat surface, for example, embedded wall lights, flat ceiling lights or fluorescent lamps. Only a volume omni material can be assigned to it.

Volume omni objects

Volume omni objects

Volume omni is rendered in the following way: in the center there is a flat rectangle. It simulates a surface that emits light. Around its edges, there are billboards that always face the camera. They create a light volume around the surface even when you look on the omni from the side, and make the volume fade out smoothly. When you look at the object at 90 degrees, it is not visible at all.

Fading out of a volume omni

Fading out of a volume omni at different angles

See also

Omni Options

Width Width of the central rectangle in units (along the X axis).
Height Height of the central rectangle in units (along the Y axis).
Radius Size of billboards around the edges in units.
Attenuation Specifies how fast object fades out when viewed from the side.
  • By the minimum value of 0, the omni doesn't fade out. It abruptly disappears when you look at the omni at 90 degrees.
  • The higher the value is, the more faded out the omni is at a small viewing angle. High values also decrease overall intensity.
Last update: 21.12.2017
Build: ()