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:
@@ -1,6 +1,5 @@
|
||||
struct PixelShaderInput {
|
||||
float4 pos : SV_POSITION;
|
||||
float4 color : COLOR;
|
||||
float4 uvst : COORDINATES;
|
||||
};
|
||||
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user