copy.vert 894 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (C) 2023, 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. /** \file ibr.vp
  12. *
  13. * Vertex shader WITHOUT projection and modelview transformations.
  14. */
  15. #version 450
  16. layout(location = 0) in vec4 in_vertex; /**< Input vertex coordinates */
  17. layout(location = 1) in vec4 in_texcoord; /**< Input texture coordinates */
  18. layout(location = 2) in vec4 in_color; /**< Input colour value */
  19. out vec4 texcoord; /**< Output texture coordinates */
  20. out vec4 color; /**< Output color value */
  21. void main(void) {
  22. gl_Position = in_vertex;
  23. texcoord = in_texcoord;
  24. color = in_color;
  25. }