/////////////////////////////////////////////////////////////////////////////// // // ## ###### // ###### ### // ## ############### Shark 3D Engine (www.shark3d.com) // ########## # # # // ######## Copyright (c) 1996-2006 Spinor GmbH. // ######### # # # All rights reserved. // ## ########## // ## // /////////////////////////////////////////////////////////////////////////////// #include \ /////////////////////////////////////////////////////////////////////////////// struct VS_INPUT { float4 posView: POSITION; }; struct VS_OUTPUT { float4 posScr: POSITION; }; /////////////////////////////////////////////////////////////////////////////// const float4x4 projMat; /////////////////////////////////////////////////////////////////////////////// // Vertexshader // Profile: 1x1 VS_OUTPUT main(VS_INPUT input) { VS_OUTPUT output = (VS_OUTPUT)0; // Transform: output.posScr = mul(input.posView, projMat); return output; } ///////////////////////////////////////////////////////////////////////////////