css_enhanced_waf/materialsystem/stdshaders/writevertexalphatodestalpha_ps11.fxc

19 lines
344 B
Text
Raw Normal View History

2020-04-22 17:56:21 +01:00
//====== Copyright <20> 1996-2004, Valve Corporation, All rights reserved. =======
//
// Purpose:
//
//=============================================================================
#include "common_ps_fxc.h"
struct PS_INPUT
{
float4 vColor : COLOR0;
};
float4 main( PS_INPUT i ) : COLOR
{
return float4( 1.0f, 1.0f, 1.0f, 1-i.vColor.a );
}