- First glorious commit
This commit is contained in:
9
basic.fragment
Normal file
9
basic.fragment
Normal file
@@ -0,0 +1,9 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user