9 lines
181 B
Plaintext
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;
|
|
} |