Ignore:
Timestamp:
06/19/14 19:03:25 (11 years ago)
Author:
epyon
Message:
  • gui::element class now pure data
  • gui::element related code in environment
  • gui shaders use general library mechanism
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/gui_test/gui.vert

    r161 r267  
    33attribute vec2 nv_texcoord;
    44attribute vec4 nv_color;
    5 uniform mat4 nv_projection;
     5uniform mat4 nv_m_projection;
    66varying vec4 v_color;
    77varying vec2 v_texcoord;
     
    1010        v_color     = nv_color;
    1111        v_texcoord  = nv_texcoord;
    12         gl_Position = nv_projection * vec4( nv_position.x, nv_position.y, 0.0, 1.0 );
     12        gl_Position = nv_m_projection * vec4( nv_position.x, nv_position.y, 0.0, 1.0 );
    1313}
Note: See TracChangeset for help on using the changeset viewer.