//============================================================================= // // Project: SharpImage // Module: shader-vm-simple.vert // Language: OpenGL Shading Language (GLSL) // Author: Dan Mueller // Date: $Date: 2007-09-26 15:20:34 +1000 (Wed, 26 Sep 2007) $ // Revision: $Revision: 26 $ // // Copyright (c) Queensland University of Technology (QUT) 2007. // All rights reserved. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE. See the copyright notices for more information. // //============================================================================= void main() { // Transform the vertex gl_Position = ftransform( ); // Set texture coordinates gl_TexCoord[1] = gl_MultiTexCoord1; gl_TexCoord[2] = gl_MultiTexCoord2; }