OpenGL_Clock/shaders/SimpleFragmentShader.fragmentshader

13 lines
165 B
Text
Raw Permalink Normal View History

2018-04-27 15:03:40 +00:00
#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);
}
2025-01-03 14:05:35 +00:00