On 8/29/06, cyrille henry <cyrille.henry@la-kitchen.fr> wrote:

void main()
{
        gl_TexCoord[0] = gl_MultiTexCoord0;

        gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;

}

Try adding this:

 gl_TexCoord[1] = gl_MultiTexCoord1;

Also, you might want to check out the GL 'OrangeBook' which covers GLSL.  The imaging section is truly awful though - don't use any of those shaders - but it does go over the general spec.   It mentions  MultiTexCoords  on two pages out of  nearly 600.

There might be some better shader examples from ATI, Apple or a game tutorial site.

cgc