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

Volume Sphere

Volume sphere has adjustable radii along three axes, so it can take a shape of an ellipsoid. Spheres are used to create:

  • Fog haze or mist that hides objects behind it. If spheres with fog intersect, denser fog is created.
  • Spheres of light around point light sources, for example, a bulb or a candle. These spheres are visible when the light illuminates dust and other particles floating in the air. A light material is always rendered as a regular sphere.

Volume sphere with a light material

Volume sphere with a light material around light sources

Volume sphere with a light material

Volume sphere with a fog material

See also

Sphere Options

Radius Scale of the sphere along X, Y and Z axes respectively.
Notice
If a volume light material is assigned to a sphere, it cannot be of an ellipsoid shape. A sphere is rendered based only on the X-axis Radius value. If its radii along Y or Z axes are smaller, then the object is cut along them.
Last update: 03.07.2017
Build: ()