p5js/参考/p5-reference/assets/shader.vert
2022-12-07 20:42:16 +08:00

4 lines
131 B
GLSL

precision highp float; varying vec2 vPos;
attribute vec3 aPosition;
void main() { vPos = (gl_Position = vec4(aPosition,1.0)).xy; }