fill.vert 162 B

12345678910111213
  1. uniform mat4 u_mvpMatrix;
  2. in vec4 a_position;
  3. in vec4 a_color;
  4. out vec4 v_color;
  5. void main()
  6. {
  7. gl_Position = u_mvpMatrix * a_position;
  8. v_color = a_color;
  9. }