e4s-game/gamedata/shaders/editor/hud_font.ps.hlsl
2026-06-18 01:18:29 +03:00

15 lines
232 B
HLSL

#include "common.hlsli"
struct v2p
{
float2 tc0 : TEXCOORD0;
float4 c0 : COLOR0;
};
float4 main(v2p I) : COLOR
{
float4 r = tex2D(s_base, I.tc0);
r.rgb = I.c0.rgb;
r.a *= I.c0.a;
return r;
}