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
436 B

  1. //========== Copyright (c) Valve Corporation, All rights reserved. ==========//
  2. #include "common_ps_fxc.h"
  3. sampler TextureSampler : register( s0 );
  4. struct PS_INPUT
  5. {
  6. float4 vColor0 : COLOR0;
  7. float2 vTexCoord0 : TEXCOORD0;
  8. };
  9. float4_color_return_type main( PS_INPUT i ) : COLOR
  10. {
  11. float4 result = ( i.vColor0 * tex2D( TextureSampler, i.vTexCoord0 ) );
  12. return FinalOutput( result, 0, PIXEL_FOG_TYPE_NONE, TONEMAP_SCALE_NONE );
  13. }