1
1
Fork 0
mirror of https://git.sr.ht/~martijnbraam/megapixels synced 2023-12-14 05:32:55 +01:00
megapixels/data/blit.vert
2021-05-04 00:06:55 +10:00

17 lines
222 B
GLSL

#ifdef GL_ES
precision mediump float;
#endif
attribute vec2 vert;
attribute vec2 tex_coord;
uniform mat3 transform;
varying vec2 uv;
void main() {
uv = tex_coord;
gl_Position = vec4(transform * vec3(vert, 1), 1);
}