Jeffg
11-02-2010, 06:19 PM
In my vertex shader for point sprites, I have this line:
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
But it works just the same as this,
gl_TexCoord[0] = gl_MultiTexCoord0;
And just the same as this,
gl_TexCoord[0] = gl_Vertex;
What is the best choice here? I don't know what the implications would be across different platforms and hardware.
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
But it works just the same as this,
gl_TexCoord[0] = gl_MultiTexCoord0;
And just the same as this,
gl_TexCoord[0] = gl_Vertex;
What is the best choice here? I don't know what the implications would be across different platforms and hardware.