This page has been translated automatically.
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
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
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.

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: ()