summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-vs-texturematrix-1.vert
blob: ba0f58a79395f30e1e81e75dd36e3d7d135aa83f (plain)
1
2
3
4
5
void main()
{
	gl_Position = gl_Vertex;
	gl_TexCoord[0] = (gl_Vertex * gl_TextureMatrix[1] + 1.0) / 2.0;
}