VertShader.vsh 228 B

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