1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00
Files
hl2sdk/materialsystem/stdshaders/compositedeferredshadow_ps2x.fxc
Scott Ehlert fdd0bbf277 SDK sync.
2012-07-06 20:35:59 -05:00

18 lines
315 B
Plaintext

//========== 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;
}