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

Last change on this file since 528 was 238, checked in by epyon, 11 years ago
  • mesh data interface and usage
  • new wavefront importer (old pending removal)
  • updates to test projects
File size: 294 bytes
Line 
1#version 120
2attribute vec3 nv_position;
3attribute vec3 nv_color;
4uniform mat4 nv_m_mvp;
5
6varying vec3 f_coord;
7varying vec3 f_material;
8uniform vec3 pos;
9
10void main(void) {
11        f_coord = nv_position;
12        f_material = nv_color;
13        gl_Position = nv_m_mvp * vec4(nv_position + pos, 1.0);
14}
Note: See TracBrowser for help on using the repository browser.