Added: matrix buffer

Added: world, view & projection matrices
Added: delta time calculation
Added: quad mesh
This commit is contained in:
2026-10-12 18:47:53 +02:00
parent daa04be788
commit d2a487a4f6
10 changed files with 139 additions and 12 deletions
@@ -1,4 +1,11 @@
float4 main() : SV_TARGET
struct PixelInput
{
return float4(1.0f, 1.0f, 1.0f, 1.0f);
float4 position : SV_Position;
float4 color : COLOR;
};
float4 main(PixelInput INPUT) : SV_TARGET
{
//return float4(1.0f, 1.0f, 1.0f, 1.0f); // solid color
return INPUT.color; // vertex color
}