Debian Codegraph @

pak6-patch088/glsl/pass_vp.glsl

raw
1 #version 120
2 /*
3 * pass_vp.glsl
4 * simple passthrough vertex program
5 * Copyright (C) 2010 Jens Loehr <[email protected]>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15 * Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 */
21
22 void main() {
23 gl_Position = ftransform();
24 gl_TexCoord[0] = gl_MultiTexCoord0;
25 gl_TexCoord[1] = gl_MultiTexCoord1;
26 }