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.frag

    r161 r267  
    22varying vec4 v_color;
    33varying vec2 v_texcoord;
    4 uniform sampler2D tex;
     4uniform sampler2D nv_t_diffuse;
    55 
    66void main(void) {
    7         vec4 texture = texture2D(tex,v_texcoord);
     7        vec4 texture = texture2D(nv_t_diffuse,v_texcoord);
    88        gl_FragColor = v_color * texture;
    99}
Note: See TracChangeset for help on using the changeset viewer.