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

17 lines
No EOL
340 B
PostScript

#include "common.h"
struct v2p
{
half2 tc0: TEXCOORD0;
half4 c0: COLOR0;
};
//////////////////////////////////////////////////////////////////////////////////////////
// Pixel
float4 main ( p_TL I ) : SV_Target
{
float4 r = s_base.Sample( smp_base, I.Tex0 );
r.rgb = I.Color;
r.a *= I.Color.a;
return r;
}