Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
326 B

//========== 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;
}