blob: 1cb92d0f655fa90082d29a70d072e2081b4e120d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#version 150
in vec3 color;
out vec4 fragColor;
void main()
{
// The color variable is interpolated to this fragment's position
// for us by OpenGL.
fragColor = vec4( color, 1.0 );
}
|