Files
shaders/basic.fragment
2024-06-27 08:51:19 +02:00

9 lines
181 B
Plaintext

#version 330 core
out vec4 FragColor;
in vec4 vertexColor; // the input variable from the vertex shader (same name and same type)
void main()
{
FragColor = vertexColor;
}