Adding basic keyboard input

This commit is contained in:
Dynamitos
2023-11-17 22:31:26 +01:00
parent 897eda18b0
commit ec760e8deb
18 changed files with 167 additions and 90 deletions
+1 -2
View File
@@ -20,14 +20,13 @@ struct LightingParameter
// data passed to fragment shader
struct FragmentParameter
{
// clip position has to be the first attribute for some reason????
float4 position_CS : SV_Position;
float3 position_TS;
float3 viewDir_TS;
float3 normal_WS;
float3 tangent_WS;
float3 biTangent_WS;
float3 position_WS;
float4 position_CS;
float2 texCoords;
float3 vertexColor;
MaterialParameter getMaterialParameter()