20 lines
404 B
PostScript
20 lines
404 B
PostScript
#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);
|
|
}
|