1varying float pointSize;
2varying float alpha;
3void main() {
4 vec4 pos = vec4(ATTRIB_position.xyz, 1.0);
5 gl_Position = UNI_MVP * pos;
6
7 float pointSize = 1.0 + ATTRIB_speed * UNI_scaleSize * 2500.0;
8 alpha = ATTRIB_alpha;
9 gl_PointSize = pointSize;
10}