add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
27
gamedata/shaders/r3/combine_1.vs
Normal file
27
gamedata/shaders/r3/combine_1.vs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#include "common.h"
|
||||
|
||||
struct _in
|
||||
{
|
||||
float4 P : POSITIONT; // xy=pos, zw=tc0
|
||||
float2 tcJ : TEXCOORD0; // jitter coords
|
||||
};
|
||||
|
||||
struct v2p
|
||||
{
|
||||
float4 tc0 : TEXCOORD0; // tc.xy, tc.w = tonemap scale
|
||||
float2 tcJ : TEXCOORD1; // jitter coords
|
||||
float4 hpos: SV_Position;
|
||||
};
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Vertex
|
||||
v2p main ( _in I )
|
||||
{
|
||||
v2p O;
|
||||
O.hpos = float4 (I.P.x, -I.P.y, 0, 1);
|
||||
float scale = s_tonemap.Load(int3(0,0,0)).x;
|
||||
O.tc0 = float4 (I.P.zw, scale, scale);
|
||||
O.tcJ = I.tcJ;
|
||||
return O;
|
||||
}
|
||||
|
||||
FXVS;
|
||||
Loading…
Add table
Add a link
Reference in a new issue