Team Fortress 2 Source Code as on 22/4/2020
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.

23 lines
651 B

  1. //======= Copyright � 1996-2006, Valve Corporation, All rights reserved. ======
  2. #define CONVERT_TO_SRGB 0
  3. #include "common_ps_fxc.h"
  4. sampler TexSampler : register( s0 );
  5. struct PS_INPUT
  6. {
  7. HALF2 baseTexCoord : TEXCOORD0; // Base texture coordinate
  8. #if defined( _X360 ) //matching pixel shader inputs to vertex shader outputs to avoid shader patches
  9. float2 ZeroTexCoord : TEXCOORD1;
  10. float2 bloomTexCoord : TEXCOORD2;
  11. #endif
  12. };
  13. float4 main( PS_INPUT i ) : COLOR
  14. {
  15. float4 result = tex2D( TexSampler, i.baseTexCoord );
  16. result.a = 1.0f;
  17. return result; //FinalOutput( result, 0, PIXEL_FOG_TYPE_NONE, TONEMAP_SCALE_NONE );
  18. }