opengl_vertex.glsl 183 B

1234567891011
  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. }