init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions
18
gamedata/shaders/r1/font2.ps.hlsl
Normal file
18
gamedata/shaders/r1/font2.ps.hlsl
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include "common.hlsli"
|
||||
|
||||
struct v2p
|
||||
{
|
||||
float2 tc0 : TEXCOORD0; // base
|
||||
};
|
||||
|
||||
// Pixel
|
||||
float4 main(v2p I) : COLOR
|
||||
{
|
||||
float4 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 /*(float4(1,1,1,1) - */ tex2D (s_base,I.tc0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue