Ignore:
Timestamp:
07/15/13 02:48:06 (12 years ago)
Author:
epyon
Message:
  • unified naming of attributes in nv
  • predefined attribute bindings based on unified names
  • unified naming of attributes in all tests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/cachebuf_test/cachebuf.vert

    r102 r161  
    11#version 120
    2 attribute vec2 coord;
    3 attribute vec4 color;
    4 uniform mat4 projection;
     2attribute vec2 nv_position;
     3attribute vec4 nv_color;
     4uniform mat4 nv_projection;
    55varying vec4 f_color;
    66
    77void 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 );
    1010}
Note: See TracChangeset for help on using the changeset viewer.