blob: 6f83f6b907275e914527571f8aeb237761187da6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#version 330
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 );
}
|