TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Tinman.Pixel.Material

Short Name:
  • class Pixel.Material
Derived From:
Fields:

Creates a pixel layer that renders the given materials of the material layer (see Heightmap.Layer.Material).

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
optional red number
# >= 0 && # <= 255
0

ID of material which weight to encode in the red channel.

optional green number
# >= 0 && # <= 255
1

ID of material which weight to encode in the green channel.

optional blue number
# >= 0 && # <= 255
2

ID of material which weight to encode in the blue channel.

optional alpha number
# >= 0 && # <= 255
3

ID of material which inverse weight to encode in the alpha channel.