PS_In_Color

Description

[StageInOut]
struct Tinman.Shaders.Terrain.PS_In_Color

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

Pixel shader input for TerrainParameters.PassColor.

Public / Attributes

Color


[Color]
public attribute Color → (float4)

The diffuse color.

Distance


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

The camera distance.

Eye


[Normal(0)]
public attribute Eye → (float3)

The eye vector.

Normal


[Normal(1)]
public attribute Normal → (float3)

The normal vector.

Position


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

The vertex position.

Shadow


[TexCoord(1)]
public attribute Shadow → (float4)

The shadow coordinates.