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

//========== Copyright (c) Valve Corporation, All rights reserved. ==========//
sampler g_sShadow : register( s0 );
struct PS_INPUT
{
float2 uv : TEXCOORD0;
};
float4 main( PS_INPUT i ) : COLOR0
{
float4 vShadow = tex2D( g_sShadow, i.uv );
float4 o = 0;
o.a = 1.0 - vShadow.x;
return o;
}