This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Programming
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
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_light_base

A volume_light_base material is used to create visible spheres of light around Omni light sources. It is applied to Volume spheres.

Notice
A Volume sphere is rendered based on X -axis Radius value. If its radii along Y or Z axes are smaller, then the object is cut along them.
Warning
This article is deprecated and will be updated in the further UNIGINE updates.

Volume light material

Volume light material. (This effect is created via Volume sphere and Omni light.)

Parameters

In the Parameters tab you can set or modify base and additional parameters.

Parameters of different types are set in different ways:

  • expression - vector values can be set either in the field near the parameter or in the dialog window opened when double clicking this field
  • slider - the value can be set either by smoothly moving the slider of the scroll box or manually in the box near the parameter (if required, the value bigger than maximum one for the slider can be set)
  • color - the color can be chosen in the dialog window, activated after double clicking the color field

All the parameters can be set to default ones - click a Set to parent button near the parameter (if the parameter is different from the default one, its field will be highlighted with green).

The parameters available for this kind of materials are listed below.

Shading Parameters

Shading parameters are modified in the Shading field of the Parameters tab.

GUI name XML name Type Description
Diffuse diffuse_color color

A color picker to choose the color of the light sphere.

Density Parameters

Density parameters are modified in the Density field of the Parameters tab.

GUI name XML name Type Description
Power volume_power slider Decreases the radius of the volume sphere.

By the minimum value of 1, volume sphere radius is not affected.

The higher the value , the less the radius and the less scattered the light is within the volume sphere.
Multiplier volume_density slider A coefficient to scale a density of the volume sphere color.
Last update: 2018-04-26
Build: ()