//============================================================================= // // Project: SharpImage // Module: shader-v-copyinvert.vert // Language: OpenGL Shading Language (GLSL) // Author: Dan Mueller // Date: $Date: 2007-07-06 10:57:00 +1000 (Fri, 06 Jul 2007) $ // Revision: $Revision: 2 $ // // 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. // //============================================================================= // Texture coords varying vec3 pos3Tex1; void main() { // Transform the vertex gl_Position = ftransform( ); // Set texture coordinates pos3Tex1 = vec3( gl_MultiTexCoord1 ); }