1
0

gray.vert.js 302 B

12345678910111213
  1. module.exports =
  2. `
  3. attribute vec4 a_position;
  4. attribute vec2 a_texCoord;
  5. attribute vec4 a_color;
  6. varying vec4 v_fragmentColor;
  7. varying vec2 v_texCoord;
  8. void main() {
  9. gl_Position = CC_PMatrix * a_position;
  10. v_fragmentColor = a_color;
  11. v_texCoord = a_texCoord;
  12. }
  13. `