VertShader.vsh 227 B

12345678910111213
  1. attribute highp vec4 inVertex;
  2. attribute mediump vec2 inTexCoord;
  3. uniform mediump mat4 MVPMatrix;
  4. varying mediump vec2 TexCoord;
  5. void main()
  6. {
  7. gl_Position = MVPMatrix * inVertex;
  8. TexCoord = inTexCoord;
  9. }