jogamp.graph.curve.opengl.shader.curverenderer01.vp Maven / Gradle / Ivy
//Copyright 2010 JogAmp Community. All rights reserved.
#if __VERSION__ >= 130
#define attribute in
#define varying out
#endif
#include uniforms.glsl
#include attributes.glsl
#include varyings.glsl
void main(void)
{
// gl_Position = gcu_PMVMatrix[0] * gcu_PMVMatrix[1] * vec4(gca_Vertices, 1);
gl_Position = gcu_PMVMatrix[0] * gcu_PMVMatrix[1] * gca_Vertices;
gcv_TexCoord = gca_TexCoords;
}