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