|
Last change
on this file since 272 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:
247 bytes
|
| Line | |
|---|
| 1 | #version 120
|
|---|
| 2 | attribute vec2 nv_position;
|
|---|
| 3 | attribute vec4 nv_color;
|
|---|
| 4 | uniform mat4 nv_projection;
|
|---|
| 5 | varying vec4 f_color;
|
|---|
| 6 |
|
|---|
| 7 | void main(void) {
|
|---|
| 8 | f_color = nv_color;
|
|---|
| 9 | gl_Position = nv_projection * vec4( nv_position.x, nv_position.y, 0.0, 1.0 );
|
|---|
| 10 | }
|
|---|
Note: See
TracBrowser
for help on using the repository browser.