This commit is contained in:
Daniel Ledda
2025-02-16 23:43:10 +01:00
parent f250254ae3
commit a89ef8ddde
7 changed files with 215 additions and 66 deletions

View File

@@ -0,0 +1,12 @@
#version 330 core
layout (location = 0) in vec2 xy;
layout (location = 1) in vec2 uv;
uniform mat4 projection;
out vec2 tex_coord;
void main() {
gl_Position = projection * vec4(xy, 0.0, 1.0);
tex_coord = uv;
}