UNPKG

371 BJavaScriptView Raw
1var $defaultVertex = `attribute vec2 aVertexPosition;
2attribute vec2 aTextureCoord;
3
4uniform mat3 projectionMatrix;
5
6varying vec2 vTextureCoord;
7
8void main(void)
9{
10 gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);
11 vTextureCoord = aTextureCoord;
12}`;
13export {
14 $defaultVertex as default
15};
16//# sourceMappingURL=default.vert.mjs.map