This page has been translated automatically.
Programming
Fundamentials
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
API
Core Library
Containers
Engine Classes
Node-Related Classes
Rendering-Related Classes
Physics-Related Classes
Bounds-Related Classes
GUI-Related Classes
Controls-Related Classes
Pathfinding-Related Classes
Utility Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

grass_impostor_base

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

Impostor-trees

States

Rendering passes and options available for the material.

States

Materials editor, States tab.

Passes

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 States values.

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 States field 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:

Shading

Shading parameters:

Noise

Noise parameters:

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