generated from karl/cpp-template
the example from https://learnopengl.com/Advanced-OpenGL/Geometry-Shader is functional; built with SCons.
11 lines
111 B
GLSL
11 lines
111 B
GLSL
#version 330 core
|
|
out vec4 FragColor;
|
|
|
|
in vec3 fColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = vec4(fColor, 1.0);
|
|
}
|
|
|