Add FreeType, progress to title screen

This commit is contained in:
elasota
2019-12-21 18:40:17 -05:00
parent c9c6976344
commit 8354d13a84
901 changed files with 444265 additions and 440 deletions

37
ShaderSrc/DrawQuad.hlsl Normal file
View File

@@ -0,0 +1,37 @@
cbuffer SDrawQuadVertexConstants : register(b0)
{
float4 ndcOriginAndDimensions;
};
struct SVertexInput
{
float3 posUV : POSITION;
};
struct SPixelInput
{
float4 pos : SV_POSITION;
float2 texCoord : TEXCOORD;
};
struct SPixelOutput
{
float4 color : SV_TARGET;
};
SPixelInput VSMain(SVertexInput input)
{
SPixelInput result;
result.pos = float4(input.posUV.x, input.posUV.y, input.posUV.z, 1.0);
result.texCoord = input.posUV.xy;
return result;
}
SPixelOutput PSMain(SPixelInput input)
{
SPixelOutput result;
result.color = float4(input.texCoord.x, input.texCoord.y, 0.0, 1.0);
return result;
}