Home | History | Annotate | Download | only in raw
      1 varying float pointSize;
      2 
      3 void main() {
      4     vec4 pos;
      5     pos.x = ATTRIB_position.x;
      6     pos.y = ATTRIB_position.y;
      7     pos.z = ATTRIB_position.z;
      8     pos.w = 1.0;
      9 
     10     gl_Position = UNI_MVP * pos;
     11     pointSize = ATTRIB_pointSize;
     12     gl_PointSize = pointSize*UNI_scaleSize;
     13 }