TerrainTextureData

Description

[Flags]
enum Tinman.AddOns.Export.TerrainTextureData

Full source code is included in the Tinman 3D SDK download.

Enumeration of texture data channels.

Public / Constants

None

public constant None → (0:int32)

No texture data (i.e. transparent black).

AlbedoRed

public constant AlbedoRed → (1:int32)

Red channel of surface albedo (linear sRGB).

AlbedoGreen

public constant AlbedoGreen → (2:int32)

Green channel of surface albedo (linear sRGB).

AlbedoBlue

public constant AlbedoBlue → (4:int32)

Blue channel of surface albedo (linear sRGB).

NormalX

public constant NormalX → (8:int32)

X-component of surface normal vector in the local coordinate system of the terrain mesh chunk.

NormalY

public constant NormalY → (16:int32)

Y-component of surface normal vector in the local coordinate system of the terrain mesh chunk.

NormalZ

public constant NormalZ → (32:int32)

Z-component of surface normal vector in the local coordinate system of the terrain mesh chunk.

Occlusion

public constant Occlusion → (64:int32)

Ambient occlusion (linear, 0 := full ambient occlusion, 1 := no ambient occlusion).

Opacity

public constant Opacity → (128:int32)

Opacity (linear, 0 := fully transparent, 1 := fully opaque).

Reflectivity

public constant Reflectivity → (256:int32)

Surface reflectivity (linear, 0 := no reflectance, 1 := full reflectance).

Gloss

public constant Gloss → (512:int32)

Surface glossiness (linear, 0 := maximum roughness, 1 := maximum glossiness).

All

public constant All → (1023:int32)

All flags.