summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/writez_vs20.fxc
diff options
context:
space:
mode:
Diffstat (limited to 'materialsystem/stdshaders/writez_vs20.fxc')
-rw-r--r--materialsystem/stdshaders/writez_vs20.fxc24
1 files changed, 24 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/writez_vs20.fxc b/materialsystem/stdshaders/writez_vs20.fxc
new file mode 100644
index 0000000..3f31f3f
--- /dev/null
+++ b/materialsystem/stdshaders/writez_vs20.fxc
@@ -0,0 +1,24 @@
+// DYNAMIC: "COMPRESSED_VERTS" "0..1"
+// DYNAMIC: "DOWATERFOG" "0..1"
+
+#include "common_vs_fxc.h"
+
+struct VS_INPUT
+{
+ float4 vPos : POSITION;
+};
+
+struct VS_OUTPUT
+{
+ float4 vProjPos : POSITION;
+};
+
+
+VS_OUTPUT main( const VS_INPUT v )
+{
+ VS_OUTPUT o = ( VS_OUTPUT )0;
+
+ o.vProjPos = mul( v.vPos, cModelViewProj );
+
+ return o;
+} \ No newline at end of file