init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions
22
gamedata/shaders/r2/combine_1.vs.hlsl
Normal file
22
gamedata/shaders/r2/combine_1.vs.hlsl
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include "common.hlsli"
|
||||
|
||||
struct _in
|
||||
{
|
||||
float4 p : POSITION;
|
||||
float2 tcJ : TEXCOORD0;
|
||||
};
|
||||
|
||||
struct _out
|
||||
{
|
||||
float4 hpos : POSITION;
|
||||
float4 tc0 : TEXCOORD0;
|
||||
float2 tcJ : TEXCOORD1;
|
||||
};
|
||||
|
||||
void main(in _in I, out _out O)
|
||||
{
|
||||
O.hpos = float4(I.p.x, -I.p.y, 0.0f, 1.0f);
|
||||
O.tc0 = float4(I.p.zw, 1.0f, 1.0f);
|
||||
|
||||
O.tcJ = I.tcJ;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue