add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
21
gamedata/shaders/d3d11/stub_notransform_t_ma.vs.hlsl
Normal file
21
gamedata/shaders/d3d11/stub_notransform_t_ma.vs.hlsl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include "common_iostructs.hlsli"
|
||||
|
||||
// Vertex
|
||||
v2p_TL main(v_TL_positiont I)
|
||||
{
|
||||
v2p_TL O;
|
||||
|
||||
// O.HPos = P;
|
||||
|
||||
{
|
||||
I.P.xy += 0.5f;
|
||||
O.HPos.x = I.P.x / 1024 * 2 - 1;
|
||||
O.HPos.y = (I.P.y / 768 * 2 - 1) * -1;
|
||||
O.HPos.zw = I.P.zw;
|
||||
}
|
||||
|
||||
O.Tex0 = I.Tex0;
|
||||
O.Color = I.Color.aaaa; // swizzle vertex colour
|
||||
|
||||
return O;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue