source:
trunk/tests/gui_test/gui.vert
@
127
Last change on this file since 127 was 127, checked in by epyon, 12 years ago | |
---|---|
File size: 287 bytes |
Rev | Line | |
---|---|---|
[127] | 1 | #version 120 |
2 | attribute vec2 coord; | |
3 | attribute vec2 tcoord; | |
4 | attribute vec4 color; | |
5 | uniform mat4 projection; | |
6 | varying vec4 f_color; | |
7 | varying vec2 f_tcoord; | |
8 | ||
9 | void main(void) { | |
10 | f_color = color; | |
11 | f_tcoord = tcoord; | |
12 | gl_Position = projection * vec4( coord.x, coord.y, 0.0, 1.0 ); | |
13 | } |
Note: See TracBrowser
for help on using the repository browser.