texture.vert 174 B

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