11 lines
164 B
Text
11 lines
164 B
Text
#version 330 core
|
|
|
|
in float colorF;
|
|
out vec3 color;
|
|
|
|
void main() {
|
|
if (colorF == 0)
|
|
color = vec3(1, 1, 1);
|
|
else
|
|
color = vec3(0, 0, 0);
|
|
}
|