Nenhuma descrição

textoverlay.vert 254B

1234567891011121314151617
  1. #version 450 core
  2. layout (location = 0) in vec2 inPos;
  3. layout (location = 1) in vec2 inUV;
  4. layout (location = 0) out vec2 outUV;
  5. out gl_PerVertex
  6. {
  7. vec4 gl_Position;
  8. };
  9. void main(void)
  10. {
  11. gl_Position = vec4(inPos, 0.0, 1.0);
  12. outUV = inUV;
  13. }