e4s-sdk/gamedata/shaders/r1/hud_font.ps
2026-06-17 23:06:51 +03:00

16 lines
230 B
PostScript

#include "common.h"
struct v2p
{
half2 tc0: TEXCOORD0;
half4 c0: COLOR0;
};
half4 main_ps_1_1 ( v2p I ) : COLOR
{
half4 r = tex2D (s_base,I.tc0);
r.rgb = I.c0.rgb;
r.a *= I.c0.a;
return r;
}