2023-10-09 17:20:30 +02:00
|
|
|
struct MaterialParameter
|
|
|
|
|
{
|
2023-11-08 23:27:21 +01:00
|
|
|
float3 position_TS;
|
2023-10-09 17:20:30 +02:00
|
|
|
float3 worldPosition;
|
|
|
|
|
float2 texCoords;
|
|
|
|
|
float3 normal;
|
|
|
|
|
float3 tangent;
|
|
|
|
|
float3 biTangent;
|
2023-10-26 18:37:29 +02:00
|
|
|
float3 viewDir_TS;
|
2023-11-11 22:39:17 +01:00
|
|
|
float3 vertexColor;
|
2023-10-09 17:20:30 +02:00
|
|
|
}
|
|
|
|
|
|
2023-11-09 22:15:51 +01:00
|
|
|
struct VertexAttributes
|
|
|
|
|
{
|
|
|
|
|
MaterialParameter parameter : PARAMETER;
|
|
|
|
|
float4 clipPosition: SV_POSITION;
|
|
|
|
|
};
|