1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-07 09:43:40 +08:00
hl2sdk/materialsystem/stdshaders/gamecontrols_ps20.fxc
Scott Ehlert fdd0bbf277 SDK sync.
2012-07-06 20:35:59 -05:00

18 lines
343 B
Plaintext

//========== Copyright (c) Valve Corporation, All rights reserved. ==========//
sampler Texture1Sampler : register( s0 );
struct PS_INPUT
{
float3 vTexCoord : TEXCOORD0;
float4 vColor : TEXCOORD1;
};
float4 main( PS_INPUT i ) : COLOR
{
float4 c = tex2D( Texture1Sampler, i.vTexCoord.xy );
c *= i.vColor;
return c;
}