background.vert.ts 218 B

123456789101112
  1. export const background_vert = `
  2. precision mediump float;
  3. attribute vec2 aPosition;
  4. varying vec4 vPosition;
  5. void main() {
  6. vPosition = vec4(aPosition, 1.0, 1.0);
  7. gl_Position = vec4(aPosition, 1.0, 1.0);
  8. }
  9. `;