reduce point size

This commit is contained in:
Colin Megill
2018-03-26 02:21:59 -07:00
parent 895c63919b
commit 15a29f0211
+1 -1
View File
@@ -10,7 +10,7 @@ export default function (regl) {
uniform mat4 projection, view;
varying vec3 fragColor;
void main() {
gl_PointSize = 30.0 / pow(distance, 2.5);
gl_PointSize = 10.0 / pow(distance, 2.5);
gl_Position = projection * view * vec4(position.x, -position.y, 0, 1);
fragColor = color;
}`,