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.

18 lines
344 B

  1. //====== Copyright � 1996-2004, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #include "common_ps_fxc.h"
  7. struct PS_INPUT
  8. {
  9. float4 vColor : COLOR0;
  10. };
  11. float4 main( PS_INPUT i ) : COLOR
  12. {
  13. return float4( 1.0f, 1.0f, 1.0f, 1-i.vColor.a );
  14. }