File: multitexture_rect.vert

package info (click to toggle)
gem 1%3A0.93.3-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 28,548 kB
  • ctags: 29,332
  • sloc: cpp: 134,188; sh: 11,215; makefile: 2,853; ansic: 84
file content (11 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (12)
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();

}