aboutsummaryrefslogtreecommitdiff
path: root/Gem/examples/10.glsl/multitexture_rect.vert
blob: 2cade19b49f2fac036d778ab1b70ac52c9a44042 (plain)
1
2
3
4
5
6
7
8
9
10
11
varying vec2 texcoord1;
varying vec2 texcoord2;

void main()
{
	
    texcoord1 = (gl_TextureMatrix[0] * gl_MultiTexCoord0).st;
    texcoord2 = (gl_TextureMatrix[1] * gl_MultiTexCoord1).st;
    gl_Position = ftransform();

}