source: trunk/tests/cachebuf_test/cachebuf.vert @ 121

Last change on this file since 121 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
Line 
1#version 120
2attribute vec2 coord;
3attribute vec4 color;
4uniform mat4 projection;
5varying vec4 f_color;
6
7void 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.