This page has been translated automatically.
Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
注意! 这个版本的文档是过时的,因为它描述了一个较老的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: ()