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_fog_base

A volume_fog_base material is used to create fog, haze or mist that hides objects behind it. It is applied to Volume Box and Volume Sphere objects.

Fog material with Volume box

Fog Material with Volume box

States#

Material Settings, States Tab

Height#

Specifies if the fog fades out to the top of its volume.

Use Sky Color#

If enabled, the sky color is used as a multiplier for the fog's diffuse color.

Parameters#

Material Settings, Parameters Tab

Base Parameters#

Diffuse#

A color picker specifying the diffuse color.

Density Parameters#

Power#

Specifies if the fog density falls off to the edges of the volume box. If the Height state is enabled, it also affects the density.

  • By the minimum value of 1, fog is distributed evenly within the volume box.
  • If a higher value is set, the fog density reduces at the edges of the object and increases in the center.

Multiplier#

A coefficient to scale a density of the fog. This value affects visibility of objects inside the fog:

  • By low values, only distant objects are hidden by the fog.
  • By high values, even close objects are not visible in the fog.

Height Falloff#

Specifies the fog intensity depending on height.

Notice
The parameter is available only when the Height state is enabled.

Last update: 2018-12-27
Build: ()