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
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии 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: 03.07.2017
Build: ()