Adds the given material to this layer, replacing any existing one.
If the given material in is already present, the method silently returns.
Adds the given materials to this layer, replacing any existing ones.
This method delegates to Add for each element in materials in.
The material chunking coefficient.
The default value is
Coefficients for height-based blending of materials.
Up to four materials are blend together when material-based texturing is used, according to their respective weights in the material token (see MaterialToken). To increase visual appeal, these blend weights may be adjusted, based on material displacement:
result = weight * pow(1 + (abs(height) + X) * Y, Z)
weight is the material token weight in the range [0..1] and
height is the material height, in terrain-space.
Z are the components of this coefficient vector.
The global material texture scale, in terrain-space.
The global scale is intended to be used for unit conversions.