Last change
on this file since 46 was
46,
checked in by epyon, 12 years ago
|
- tests directory added
- render_test added (old visual test with new syntax)
|
File size:
281 bytes
|
Line | |
---|
1 | #version 120
|
---|
2 | attribute vec3 coords;
|
---|
3 | attribute vec3 material;
|
---|
4 | varying vec3 f_coord;
|
---|
5 | varying vec3 f_material;
|
---|
6 | uniform mat4 matrix_mvp;
|
---|
7 | uniform vec3 pos;
|
---|
8 |
|
---|
9 | void main(void) {
|
---|
10 | f_coord = coords;
|
---|
11 | f_material = material;
|
---|
12 | gl_Position = matrix_mvp * vec4(coords + pos, 1.0);
|
---|
13 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.