Material

Description

[Stage]
struct Tinman.Engine.Shaders.Terrain.Material

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

A terrain material sample.

Public / Attributes

Albedo


public attribute Albedo → (float3)

The albedo color.

Emissive


public attribute Emissive → (float32)

The emissive light intensity.

Gloss


public attribute Gloss → (float32)

The gloss factor.

Height


public attribute Height → (float32)

The terrain-space displacement amount, along the normal vector.

Normal


public attribute Normal → (float3)

The unit-length normal vector.

Occlusion


public attribute Occlusion → (float32)

The ambient occlusion term.

Reflectivity


public attribute Reflectivity → (float32)

The gray-scale reflectivity.