This commit is contained in:
2019-07-27 03:49:02 +02:00
parent e26c64c253
commit de5fa84ac7
3 changed files with 121 additions and 7 deletions

View File

@@ -5,5 +5,5 @@ layout(location = 0) in vec3 pos;
layout(location = 0) out vec4 f_color;
void main() {
f_color = vec4(.3, .1, .8, 1.0);
f_color = vec4(.3, (pos.y + 5.) / 10., .8, 1.0);
}