Configuration

Description

[Configuration]
static class Tinman.Shaders.Configuration

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

The compile-time configuration values of the shaders in the Tinman 3D SDK.

Public / Constants

CUBEMAP_​SEAMLESS


public static readonly attribute CUBEMAP_SEAMLESS → (bool)

Is seamless cubemap filtering supported?

NEAR_​AT_​ZERO


public static readonly attribute NEAR_AT_ZERO → (bool)

Depicts the value range of the Z-component of normalized device coordinates (NDC):
true : [0 .. 1]
false : [-1 .. +1]

PIXEL_​OFFSET


public static readonly attribute PIXEL_OFFSET → (float32)

The offset from viewport coordinates (0,0) to the center of the corresponding pixel.

TERRAIN_​MATERIAL_​COUNT


public static readonly attribute TERRAIN_MATERIAL_COUNT → (int32)

Number of terrain materials to use in one pass.

TERRAIN_​MATERIAL_​DEBUG


public static readonly attribute TERRAIN_MATERIAL_DEBUG → (int32)

Enables debug mode for a tri-planar material texture.

The following debug codes are supported:

0 : disable
1 : planarX
2 : planarY
3 : planarZ

TERRAIN_​MATERIAL_​DISPLACEMENT


public static readonly attribute TERRAIN_MATERIAL_DISPLACEMENT → (bool)

Use displacement mapping for terrain?

TERRAIN_​TEXTURE_​ARRAYS


public static readonly attribute TERRAIN_TEXTURE_ARRAYS → (bool)

Are texture arrays available?

THICK_​LINES


public static readonly attribute THICK_LINES → (bool)

Enable rendering of thick lines?