diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /materialsystem/stdshaders/motion_blur_vs20.fxc | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'materialsystem/stdshaders/motion_blur_vs20.fxc')
| -rw-r--r-- | materialsystem/stdshaders/motion_blur_vs20.fxc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/motion_blur_vs20.fxc b/materialsystem/stdshaders/motion_blur_vs20.fxc new file mode 100644 index 0000000..7136af5 --- /dev/null +++ b/materialsystem/stdshaders/motion_blur_vs20.fxc @@ -0,0 +1,29 @@ +//====== Copyright � 1996-2007, Valve Corporation, All rights reserved. =========================== + +// Includes ======================================================================================= +#include "common_vs_fxc.h" + +// Input values =================================================================================== +struct VS_INPUT +{ + float3 vPos : POSITION; + float2 vBaseTexCoord : TEXCOORD0; +}; + +// Interpolated values ============================================================================ +struct VS_OUTPUT +{ + float4 projPos : POSITION; + float2 vUv0 : TEXCOORD0; +}; + +// Main =========================================================================================== +VS_OUTPUT main( const VS_INPUT i ) +{ + VS_OUTPUT o; + + o.projPos.xyzw = float4( i.vPos.xyz, 1.0f ); + o.vUv0.xy = i.vBaseTexCoord.xy; + + return o; +} |