2
0

opengl_vertex.glsl 184 B

123456789101112
  1. #ifdef GL_ES
  2. varying mediump vec2 varTexCoord;
  3. #else
  4. centroid varying vec2 varTexCoord;
  5. #endif
  6. void main(void)
  7. {
  8. varTexCoord.st = inTexCoord0.st;
  9. gl_Position = inVertexPosition;
  10. }