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

Last change on this file since 528 was 161, checked in by epyon, 12 years ago
  • unified naming of attributes in nv
  • predefined attribute bindings based on unified names
  • unified naming of attributes in all tests
File size: 247 bytes
Line 
1#version 120
2attribute vec2 nv_position;
3attribute vec4 nv_color;
4uniform mat4 nv_projection;
5varying vec4 f_color;
6
7void main(void) {
8        f_color = nv_color;
9        gl_Position = nv_projection * vec4( nv_position.x, nv_position.y, 0.0, 1.0 );
10}
Note: See TracBrowser for help on using the repository browser.