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.

terrain_base

A terrain_base material is a default material for terrain objects. Via this material you can manage different options for terrain optimization and control the post processing for terrains.

Terrain has a quite different material system in comparison to usual Unigine materials. You should specify the most of terrain textures via the Nodes tab (see the Terrain Materials article for details).

States

The terrain_base material has the following Options and Post processing states.

States

Material Editor, States tab.

Options

Specify the following rendering options:

  • Auxiliary - enables an auxiliary option and an ability to use auxiliary texture.
  • Ambient occlusion - enables an ambient occlusion texture and parameters.
  • Invert occlusion - inverts AO occlusion map influence on albedo.
  • Subtract materials - subtracts invisible materials inside every layer and draw only visible ones - helps to increase performance on terrains with plenty of blended materials.
    Notice
    May cause performance drop on terrains with small amount of materials.
  • Subtract layers - subtracts invisible parts of layers and draw visible parts of their materials. May cause some graphical artifacts in sorting order of detail materials, but make a big performance boost.
  • Material detail - enables detail terrain materials.
  • Material roughness - enables terrain materials roughness calculation.
  • Material normal - enables terrain materials normal calculation.

Post Processing

  • SSAO - enables SSAO (screen-space ambient occlusion) post for terrain.
  • SSR - enables SSR (screen-space reflections) post for terrain.
  • SSS - enables SSS (sub-surface scattering) post for terrain.
  • DOF - enables DOF (depth of field) for terrain.
  • Motion blur - enables motion blur for terrain.
  • Sun Shafts - enables sun shafts for terrain.

Textures

Textures

Material Editor, Textures tab.

Ambient Occlusion

Ambient occlusion (AO) texture modulates the global environment illumination.

Notice
Ambient occlusion texture slot is available if a Ambient occlusion option is enabled.

Auxiliary

Auxiliary texture that used for auxiliary rendering pass.

Notice
Auxiliary texture slot is available if a Auxiliary option is enabled.

Parameters

Parameters

Material Editor, Parameters tab.

Material Mask

Material mask parameter specifies material bit-mask.

Base Parameters

Base parameters have influence on the all corresponding terrain textures.

  • Albedo - a color multiplier for the albedo texture.
  • Roughness - is a multiplier of the terrain roughness.
  • Microfiber - is a coefficient to scale the intensity of the terrain microfiber
  • Normal intensity - is an intensity of the relief of the normal map.

Options Parameters

  • Auxiliary - a color multiplier for the auxiliary texture.
  • Occlusion on Albedo - occlusion influence on albedo texture.
Last update: 2018-04-26
Build: ()