Last change
on this file since 102 was
102,
checked in by epyon, 12 years ago
|
- cachebuf_test added - testing the cache buffer and interleaved buffers
- I'm making a note here - HUGE SUCCESS
|
File size:
217 bytes
|
Rev | Line | |
---|
[102] | 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.