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
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials
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.

decal_deferred_base

A decal_deferred_base material creates coverings for deferred decals.

States

Rendering passes and options available for the material.

States

Materials editor, States tab.

Passes

Options

  • Detail - detail texturing mode.
  • Ambient emission - ambient emission and post-processing glow.
  • Distance fade - fade effect.
  • Angle threshold - an angle value for the overlap material.
  • Substitute - substitute base normals.
  • Ambient light - disable world light pass.

Angle threshold

A viewing angle for projected overlap materials. Can be applied to surfaces that face downwards.

Enabling this option activates Threshold parameter, that allows to modify the angle.

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

Base material textures:

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

Detail

Detail material textures:

Additional

Additional textures:

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:

  • Base - base material coordinates transformation.
  • Detail - detail material coordinates transformation.

Angle

Angle parameters:

Threshold

A coefficient to scale a threshold angle for projected overlap materials. The lower the value, the bigger area is rendered.

Detail

Detail material textures shading parameters:

  • Diffuse - detail diffuse texture intensity scale.
  • Normal - detail normal texture intensity scale.
  • Specular - detail specular texture intensity scale.
Notice
Detail parameters are present if a Detail option is enabled.

Ambient

Environment texture parameters:

Emission

Emission parameters:

  • Color - ambient emission color picker.
  • Scale - ambient emission texture intensity scale.
  • Glow - post-processing glow intensity scale.

Shading

Shading parameters:

Last update: 2017-07-03
Build: ()