source:
trunk/tests/gui_test/gui.frag
@
127
Last change on this file since 127 was 127, checked in by epyon, 12 years ago | |
---|---|
File size: 186 bytes |
Rev | Line | |
---|---|---|
[127] | 1 | #version 120 |
2 | varying vec4 f_color; | |
3 | varying vec2 f_tcoord; | |
4 | uniform sampler2D tex; | |
5 | ||
6 | void main(void) { | |
7 | vec4 texture = texture2D(tex,f_tcoord); | |
8 | gl_FragColor = f_color * texture; | |
9 | } |
Note: See TracBrowser
for help on using the repository browser.