PS_In_Background

Description

[StageInOut]
struct Tinman.Shaders.Terrain.PS_In_Background

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

Pixel shader input for TerrainParameters.PassTextureDome.

Public / Attributes

Color


[Color]
public attribute Color → (float4)

The texture color.

Distance


[TexCoord(0)]
public attribute Distance → (float32)

The camera distance.

Position


[System(Value.Position)]
public attribute Position → (float4)

The vertex position.

Tex​Coords


[Length(SR_Terrain.TextureCount)] [TexCoord(2)] [With(Behaviour.Centroid)]
public attribute TexCoords → (float4 [ ])

The texture coordinates for each slot.