PlaneTexVShader.vsh 241 B

1234567891011
  1. attribute highp vec3 inVertex;
  2. uniform highp mat4 MVPMatrix;
  3. void main()
  4. {
  5. // Convert each vertex into projection-space and output the value
  6. highp vec4 vInVertex = vec4(inVertex, 1.0);
  7. gl_Position = MVPMatrix * vInVertex;
  8. }