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