add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
20
gamedata/shaders/r2/font2.ps
Normal file
20
gamedata/shaders/r2/font2.ps
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include "common.h"
|
||||
|
||||
struct v2p
|
||||
{
|
||||
half2 tc0: TEXCOORD0; // base
|
||||
};
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Pixel
|
||||
half4 main_ps_1_1 ( v2p I ) : COLOR
|
||||
{
|
||||
half4 r = tex2D (s_base,I.tc0);
|
||||
// r.x = 1 - r.x;
|
||||
// r.y = 1 - r.y;
|
||||
// r.z = 1 - r.z;
|
||||
r.w = 1 - r.w;
|
||||
return r;
|
||||
// return /*(half4(1,1,1,1) - */ tex2D (s_base,I.tc0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue