13 lines
165 B
Text
13 lines
165 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);
|
||
|
}
|
||
|
|