attribute float attrib3;
attribute float clamp;
+attribute float geomSize;
attribute float minSize;
+attribute float attrib4;
attribute float maxSize;
attribute float magnification;
float a1 = attrib1;
float a2 = attrib2;
float a3 = attrib3;
+ float a4 = attrib4;
int r = inColor.x * 255;
int g = inColor.y * 255;
gl_FrontColor = gl_Color;
- float size = ComputePointSize( gl_Color );
+ float size;
+ if( geomSize == 0 )
+ size = ComputePointSize( gl_Color );
+ else
+ size = geomSize;
//clamp = 100.0;
gl_PointSize = min( magnification * size * gl_ProjectionMatrix[0].x, clamp );