This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine 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
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
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: 2023-06-23
Build: ()