added buffer for tiles and player, added +=, -= to math_graphics.h

git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@4 24008968-59e6-ed4c-a10b-0b2c954b24ab
This commit is contained in:
mikeb
2021-02-25 14:43:27 +00:00
parent 685fdf3fa9
commit 7a8abc6af9
8 changed files with 140 additions and 76 deletions
-1
View File
@@ -1,6 +1,5 @@
struct PixelShaderInput {
float4 pos : SV_POSITION;
float4 color : COLOR;
float4 uvst : COORDINATES;
};
-3
View File
@@ -6,13 +6,11 @@ struct VertexShaderInput {
// Per Instance
float4 pos_size : INSTANCE_POSITION_SIZE;
float4 left_color : LEFT_COLOR;
};
struct VertexShaderOutput {
float4 pos : SV_POSITION;
float4 color : COLOR;
float4 uvst : COORDINATES;
};
@@ -48,7 +46,6 @@ VertexShaderOutput main(VertexShaderInput input) {
//output.pos.xy = mul(pos, input.pos.xyz).xy;
output.pos.zw = float2(0, 1);
output.color = input.left_color;
output.uvst = input.uvst;
return output;
Binary file not shown.
Binary file not shown.