This page has been translated automatically.
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
High-Level Systems
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
Rendering-Related Classes
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

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: 2017-07-03
Build: ()