1
2void main() {
3    gl_FrontColor = gl_Color;
4    gl_PointSize = 10.0 * gl_Color.x;
5    gl_Position = gl_Vertex;
6}
7