2008-11-02 07:58:06 -07:00
|
|
|
// Multi-texture vertex shader
|
2007-11-24 10:25:28 -07:00
|
|
|
// Brian Paul
|
|
|
|
|
|
|
|
|
2009-05-17 14:26:36 -06:00
|
|
|
attribute vec4 TexCoord0, TexCoord1;
|
|
|
|
attribute vec4 VertCoord;
|
|
|
|
|
2007-11-24 10:25:28 -07:00
|
|
|
void main()
|
|
|
|
{
|
2009-05-17 14:26:36 -06:00
|
|
|
gl_TexCoord[0] = TexCoord0;
|
|
|
|
gl_TexCoord[1] = TexCoord1;
|
|
|
|
// note: may use gl_Vertex or VertCoord here for testing:
|
|
|
|
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
|
2007-11-24 10:25:28 -07:00
|
|
|
}
|