summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/writevertexalphatodestalpha_ps11.fxc
diff options
context:
space:
mode:
Diffstat (limited to 'materialsystem/stdshaders/writevertexalphatodestalpha_ps11.fxc')
-rw-r--r--materialsystem/stdshaders/writevertexalphatodestalpha_ps11.fxc18
1 files changed, 18 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/writevertexalphatodestalpha_ps11.fxc b/materialsystem/stdshaders/writevertexalphatodestalpha_ps11.fxc
new file mode 100644
index 0000000..98554c7
--- /dev/null
+++ b/materialsystem/stdshaders/writevertexalphatodestalpha_ps11.fxc
@@ -0,0 +1,18 @@
+//====== Copyright � 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 );
+}