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/gui_test/gui.frag

    r127 r161  
    11#version 120
    2 varying vec4 f_color;
    3 varying vec2 f_tcoord;
     2varying vec4 v_color;
     3varying vec2 v_texcoord;
    44uniform sampler2D tex;
    55 
    66void main(void) {
    7         vec4 texture = texture2D(tex,f_tcoord);
    8         gl_FragColor = f_color * texture;
     7        vec4 texture = texture2D(tex,v_texcoord);
     8        gl_FragColor = v_color * texture;
    99}
Note: See TracChangeset for help on using the changeset viewer.