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

  1. //========== Copyright (c) Valve Corporation, All rights reserved. ==========//
  2. sampler Texture1Sampler : register( s0 );
  3. struct PS_INPUT
  4. {
  5. float3 vTexCoord : TEXCOORD0;
  6. float4 vColor : TEXCOORD1;
  7. };
  8. float4 main( PS_INPUT i ) : COLOR
  9. {
  10. float4 c = tex2D( Texture1Sampler, i.vTexCoord.xy );
  11. c *= i.vColor;
  12. return c;
  13. }