Implements the rendering pipeline to dispaly a 2D triangle using shaders!
8 lines
117 B
GLSL
8 lines
117 B
GLSL
#version 330 core
|
|
|
|
out vec4 FragColor;
|
|
|
|
void main() {
|
|
FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f); /* Orange??!? */
|
|
}
|