fragment.frag 253 Bytes
Newer Older
1
#version 150 core
Matthias Betz's avatar
Matthias Betz committed
2
3
4
5
6
7
8


// Incoming interpolated (between vertices) color.
in vec3 interpolatedColor;


// Outgoing final color.
9
out vec4 outputColor;
Matthias Betz's avatar
Matthias Betz committed
10
11
12
13
14
15
16


void main()
{
    // We simply pad the interpolatedColor
    outputColor = vec4(interpolatedColor, 1);
}