fragment.frag 248 Bytes
Newer Older
Matthias Betz's avatar
Matthias Betz committed
1
#version 130
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);
}