From 3bf9df6b2785fa6d951086978a3e66f49427166a Mon Sep 17 00:00:00 2001 From: FluorescentCIAAfricanAmerican <0934gj3049fk@protonmail.com> Date: Wed, 22 Apr 2020 12:56:21 -0400 Subject: 1 --- .../stdshaders/DebugTextureView_vs20.fxc | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 materialsystem/stdshaders/DebugTextureView_vs20.fxc (limited to 'materialsystem/stdshaders/DebugTextureView_vs20.fxc') diff --git a/materialsystem/stdshaders/DebugTextureView_vs20.fxc b/materialsystem/stdshaders/DebugTextureView_vs20.fxc new file mode 100644 index 0000000..48c3b7e --- /dev/null +++ b/materialsystem/stdshaders/DebugTextureView_vs20.fxc @@ -0,0 +1,23 @@ +// DYNAMIC: "COMPRESSED_VERTS" "0..1" + +#include "common_vs_fxc.h" + +struct VS_INPUT +{ + float4 vPos : POSITION; + float4 vTexCoord0 : TEXCOORD0; +}; + +struct VS_OUTPUT +{ + float4 vProjPos : POSITION; + float2 vUv0 : TEXCOORD0; +}; + +VS_OUTPUT main( const VS_INPUT i ) +{ + VS_OUTPUT o; + o.vProjPos.xyzw = mul( i.vPos.xyzw, cModelViewProj ); + o.vUv0.xy = i.vTexCoord0.xy; + return o; +} -- cgit v1.2.3