textured_mesh.vert 527 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (C) 2020, Inria
  3. * GRAPHDECO research group, https://team.inria.fr/graphdeco
  4. * All rights reserved.
  5. *
  6. * This software is free for non-commercial, research and evaluation use
  7. * under the terms of the LICENSE.md file.
  8. *
  9. * For inquiries contact sibr@inria.fr and/or George.Drettakis@inria.fr
  10. */
  11. #version 420
  12. uniform mat4 MVP;
  13. layout(location = 0) in vec3 in_vertex;
  14. layout(location = 2) in vec2 in_uv;
  15. out vec2 vertUV;
  16. void main(void) {
  17. gl_Position = MVP * vec4(in_vertex,1.0);
  18. vertUV = in_uv;
  19. }