source: trunk/tests/render_test/char.vert @ 93

Last change on this file since 93 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
2attribute vec3 coords;
3attribute vec3 material;
4varying vec3 f_coord;
5varying vec3 f_material;
6uniform mat4 matrix_mvp;
7uniform vec3 pos;
8
9void 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.