back to original colors

This commit is contained in:
2020-03-10 01:06:17 -04:00
parent c5ad4597ce
commit 099d26c03a
3 changed files with 24 additions and 10 deletions

View File

@@ -1,14 +1,12 @@
#version 430
//layout(location=2) uniform vec3 c;
layout(location=2) uniform vec3 c;
in vec4 pos;
in vec4 col;
out vec4 color;
void main() {
color = col;
// float d = smoothstep(-2, 2, pos.z);
// color = vec4(c * d, 1);
float d = smoothstep(-2, 2, pos.z);
color = vec4(c * d, 1);
}