Why isnt this working....

This commit is contained in:
Dynamitos committed 2023-11-13 13:23:16 +01:00
1 parent a545426b32
commit 9a26fd75ca
6 files changed
+8 -10

No files matched your search

+2 -1
View File
@@ -20,13 +20,14 @@ 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 : SV_Position;
float2 texCoords;
float3 vertexColor;
MaterialParameter getMaterialParameter()