imgui.vs 260 B

1234567891011121314151617
  1. #version 100
  2. uniform mat4 ProjMtx;
  3. attribute vec2 Position;
  4. attribute vec2 UV;
  5. attribute vec4 Color;
  6. varying vec2 Frag_UV;
  7. varying 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. }