Last change
on this file since 161 was
161,
checked in by epyon, 12 years ago
|
- unified naming of attributes in nv
- predefined attribute bindings based on unified names
- unified naming of attributes in all tests
|
File size:
190 bytes
|
Rev | Line | |
---|
[127] | 1 | #version 120
|
---|
[161] | 2 | varying vec4 v_color;
|
---|
| 3 | varying vec2 v_texcoord;
|
---|
[127] | 4 | uniform sampler2D tex;
|
---|
| 5 |
|
---|
| 6 | void main(void) {
|
---|
[161] | 7 | vec4 texture = texture2D(tex,v_texcoord);
|
---|
| 8 | gl_FragColor = v_color * texture;
|
---|
[127] | 9 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.