This page has been translated automatically.
编程
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
应用程序接口
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版本。

terrain_base

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

Terrain has a quiet 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 SSR (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: 2017-07-03
Build: ()