2 #if (__VERSION__ >= 130)
7 #define Vertex gl_Vertex
8 #define Color gl_Color;
9 attribute float Diameter;
12 uniform mat4 uModelViewProjectionMatrix;
13 uniform int uGeneralPointSize;
18 gl_Position = uModelViewProjectionMatrix * vec4 (Vertex.xyz, 1.0);
20 if (uGeneralPointSize == -1)
21 gl_PointSize = Diameter;
23 gl_PointSize = uGeneralPointSize;