xenocara/dist/Mesa/progs/vpglsl/psiz-mul.glsl

7 lines
114 B
GLSL

void main() {
gl_FrontColor = gl_Color;
gl_PointSize = 10.0 * gl_Color.x;
gl_Position = gl_Vertex;
}