source: trunk/tests/gui_test/gui.frag @ 314

Last change on this file since 314 was 267, checked in by epyon, 11 years ago
  • gui::element class now pure data
  • gui::element related code in environment
  • gui shaders use general library mechanism
File size: 208 bytes
RevLine 
[127]1#version 120
[161]2varying vec4 v_color;
3varying vec2 v_texcoord;
[267]4uniform sampler2D nv_t_diffuse;
[127]5 
6void main(void) {
[267]7        vec4 texture = texture2D(nv_t_diffuse,v_texcoord);
[161]8        gl_FragColor = v_color * texture;
[127]9}
Note: See TracBrowser for help on using the repository browser.