1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/materialsystem/stdshaders/unlitgeneric_ps11.fxc
Nicholas Hastings e2781a0000 SDK sync.
2014-02-28 14:08:09 -05:00

12 lines
230 B
Plaintext

sampler TextureSampler : register( s0 );
struct PS_INPUT
{
float4 vColor0 : COLOR0;
float2 vTexCoord0 : TEXCOORD0;
};
float4 main( PS_INPUT i ) : COLOR
{
return i.vColor0 * tex2D( TextureSampler, i.vTexCoord0 );
}