1
0
mirror of synced 2025-11-09 21:07:12 +00:00

initial commit

This commit is contained in:
Tom Gowan
2019-04-26 13:00:38 +10:00
commit 0755b4f807
16 changed files with 651 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#version 450
layout(location = 0) out vec4 f_color;
void main() {
f_color = vec4(0.0, 0.5, 1.0, 1.0);
}

View File

@@ -0,0 +1,10 @@
#version 450
layout(location = 0) in vec2 position;
void main() {
vec2 p = position;
p.x += 0.2;
gl_Position = vec4(p, 0.0, 1.0);
}