distance.vertex.glsl 267 B

1234567891011121314
  1. uniform mat4 u_projTrans;
  2. attribute vec4 a_position;
  3. attribute vec2 a_texCoord0;
  4. attribute vec4 a_color;
  5. varying vec4 v_color;
  6. varying vec2 v_texCoord;
  7. void main() {
  8. gl_Position = u_projTrans * a_position;
  9. v_texCoord = a_texCoord0;
  10. v_color = a_color;
  11. }