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

Last change on this file since 238 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
RevLine 
[46]1#version 120
[238]2attribute vec3 nv_position;
3attribute vec3 nv_color;
4uniform mat4 nv_m_mvp;
5
[46]6varying vec3 f_coord;
7varying vec3 f_material;
8uniform vec3 pos;
9
10void main(void) {
[238]11        f_coord = nv_position;
12        f_material = nv_color;
13        gl_Position = nv_m_mvp * vec4(nv_position + pos, 1.0);
[46]14}
Note: See TracBrowser for help on using the repository browser.