imgui.vs 231 B

1234567891011121314151617
  1. #version 140
  2. uniform mat4 ProjMtx;
  3. in vec2 Position;
  4. in vec2 UV;
  5. in vec4 Color;
  6. out vec2 Frag_UV;
  7. out vec4 Frag_Color;
  8. void main()
  9. {
  10. Frag_UV = UV;
  11. Frag_Color = Color;
  12. gl_Position = ProjMtx * vec4(Position.xy, 0.0, 1.0);
  13. }