PS_In_Decal

Description

[StageInOut]
struct Tinman.Shaders.Terrain.PS_In_Decal

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

Pixel shader input for TerrainParameters.PassDecal.

Public / Attributes

Color


[Color]
public attribute Color → (float4)

The diffuse color.

Coords


[TexCoord(0)]
public attribute Coords → (float2)

The texture coordinates.

Distance


[Order(0)] [TexCoord(1)]
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(2)]
public attribute Shadow → (float4)

The shadow coordinates.