opengl_vertex.glsl 184 B

1234567891011
  1. varying lowp vec4 varColor;
  2. void main(void)
  3. {
  4. gl_Position = mWorldViewProj * inVertexPosition;
  5. #ifdef GL_ES
  6. varColor = inVertexColor.bgra;
  7. #else
  8. varColor = inVertexColor;
  9. #endif
  10. }