initial version

This commit is contained in:
Florian Stecker
2025-12-07 19:04:34 -05:00
commit 04a707b4ed
29 changed files with 1021 additions and 0 deletions

20
fragment.glsl Normal file
View File

@@ -0,0 +1,20 @@
#version 130
in float normalizedTime;
out vec3 color;
uniform int type;
void main() {
if(type == 0) {
if(normalizedTime > 0)
discard;
color = vec3(1, 0, 0);
} else if(type == 1) {
color = vec3(0, 0, 0);
} else if(type == 2) {
color = vec3(0, 0, 1);
} else {
color = vec3(0, 0, 1);
}
}