10 lines
142 B
Text
10 lines
142 B
Text
|
#version 150 compatibility
|
||
|
|
||
|
out vec4 colors;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
// transform vertex to clip space
|
||
|
gl_Position = gl_Vertex;
|
||
|
colors = gl_Color;
|
||
|
}
|