This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
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: ()