printbed.vs 283 B

123456789101112131415
  1. #version 110
  2. uniform mat4 view_model_matrix;
  3. uniform mat4 projection_matrix;
  4. attribute vec3 v_position;
  5. attribute vec2 v_tex_coord;
  6. varying vec2 tex_coord;
  7. void main()
  8. {
  9. tex_coord = v_tex_coord;
  10. gl_Position = projection_matrix * view_model_matrix * vec4(v_position, 1.0);
  11. }