Home | History | Annotate | Download | only in raw
      1 varying float pointSize;
      2 varying float alpha;
      3 void 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 }