1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 20:46:03 +08:00
Files
hl2sdk/materialsystem/stdshaders/gamecontrols_ps20.fxc

18 lines
343 B
Plaintext
Raw Normal View History

2012-07-06 20:35:59 -05:00
//========== 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;
}