Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
|
|
|
|
//====== Copyright <EFBFBD> 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 );
|
|
|
|
|
}
|