1// Multi-texture vertex shader
2// Brian Paul
3
4
5attribute vec4 TexCoord0, TexCoord1;
6attribute vec4 VertCoord;
7
8void main() 
9{
10   gl_TexCoord[0] = TexCoord0;
11   gl_TexCoord[1] = TexCoord1;
12   // note: may use gl_Vertex or VertCoord here for testing:
13   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
14}
15