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

  1. //========== Copyright (c) Valve Corporation, All rights reserved. ==========//
  2. sampler g_sShadow : register( s0 );
  3. struct PS_INPUT
  4. {
  5. float2 uv : TEXCOORD0;
  6. };
  7. float4 main( PS_INPUT i ) : COLOR0
  8. {
  9. float4 vShadow = tex2D( g_sShadow, i.uv );
  10. float4 o = 0;
  11. o.a = 1.0 - vShadow.x;
  12. return o;
  13. }