1
0

opengl_vertex.glsl 192 B

12345678910
  1. varying lowp vec4 varColor;
  2. varying mediump vec2 varTexCoord;
  3. void main(void)
  4. {
  5. varTexCoord = inTexCoord0.st;
  6. gl_Position = mWorldViewProj * inVertexPosition;
  7. varColor = inVertexColor;
  8. }