Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
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
CIGI Client Plugin
Rendering-Related Classes

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

  • 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-10-20