Changeset 161 for trunk/tests/cachebuf_test/cachebuf.vert
- Timestamp:
- 07/15/13 02:48:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/cachebuf_test/cachebuf.vert
r102 r161 1 1 #version 120 2 attribute vec2 coord;3 attribute vec4 color;4 uniform mat4 projection;2 attribute vec2 nv_position; 3 attribute vec4 nv_color; 4 uniform mat4 nv_projection; 5 5 varying vec4 f_color; 6 6 7 7 void main(void) { 8 f_color = color;9 gl_Position = projection * vec4( coord.x, coord.y, 0.0, 1.0 );8 f_color = nv_color; 9 gl_Position = nv_projection * vec4( nv_position.x, nv_position.y, 0.0, 1.0 ); 10 10 }
Note: See TracChangeset
for help on using the changeset viewer.