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