Changeset 161 for trunk/tests/gui_test/gui.frag
- Timestamp:
- 07/15/13 02:48:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/gui_test/gui.frag
r127 r161 1 1 #version 120 2 varying vec4 f_color;3 varying vec2 f_tcoord;2 varying vec4 v_color; 3 varying vec2 v_texcoord; 4 4 uniform sampler2D tex; 5 5 6 6 void 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; 9 9 }
Note: See TracChangeset
for help on using the changeset viewer.