Added: assimp implementation

This commit is contained in:
2026-10-19 18:30:50 +02:00
parent 13691e3da3
commit 2246370722
18 changed files with 205 additions and 34 deletions
@@ -9,12 +9,14 @@ struct VertexInput
{
float4 position : POSITION;
float2 uv : TEXCOORD;
float4 color : COLOR;
};
struct VertexOutput
{
float4 position : SV_Position;
float2 uv : TEXCOORD;
float4 color : COLOR;
};
VertexOutput main(VertexInput INPUT)
@@ -24,6 +26,7 @@ VertexOutput main(VertexInput INPUT)
OUTPUT.position = mul(INPUT.position, WorldViewProjectionMatrix);
OUTPUT.uv = INPUT.uv;
//OUTPUT.uv = INPUT.uv * float2(1.1f, 1.1f) + float2(-0.05f, -0.05f); // uv * tiling + offset
OUTPUT.color = INPUT.color;
return OUTPUT;
}