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版本。

grass_impostor_base

A grass_impostor_base material is used for impostors. It can be applied to grass objects.

Warning
This article is deprecated and will be updated in further UNIGINE updates.

Impostor-trees

States

Rendering passes and options available for the material.

States

Materials editor, States tab.

Options

  • Animation - procedural animation.
  • Color noise - spatial color noise based on 2D texture.
  • Ambient light - disable world light pass.

Textures

Textures available for the material. All of the textures fields have set default textures, which can be replaced by your own ones. Availability of some textures depends on the set Statesvalues.

Textures

Materials editor, Textures tab.

Base

  • Diffuse - base material diffuse texture.
  • Normal - base material normal texture.

Additional

  • Spatial noise - spatial color noise texture.
Notice
A Spatial noise additional texture is present only if Color noise option is enabled.

Parameters

Parameters available for the material. All of the parameters have set default values, which can be replaced by your own ones. Availability of some parameters depends on the set Statesfield values.

Materials editor, Parameters tab.

Transform

Texture transformation parameters:

  • Impostor - impostor texture coordinates transformation.

Auxiliary

Auxiliary rendering pass parameters.

  • Color - auxiliary rendering pass constant color
Notice
Auxiliary parameters are present only if Auxiliary rendering pass is set as Default.

Animation

Animation parameters:

  • Stem noise - spatial noise scale.
  • Stem offset - animation offset amplitude height scale.
  • Stem radius - animation rotation amplitude scale.
  • Stem scale - animation time scale.

Base

Base parameters:

  • Shadow - shadow offset.
  • Alpha - grass alpha channel scale.

Ambient

Environment texture parameters:

  • Environment - environment texture lighting scale.

Shading

Shading parameters:

  • Translucency - translucence of the material
  • Diffuse - diffuse texture scale.
  • Specular - specular texture power.
  • Glossiness - specular texture scale.

Noise

Noise parameters:

  • Transform - spatial noise texture coordinates transformation
  • Scale - spatial noise texture color transformation
Last update: 2017-07-03
Build: ()