mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-29 15:18:11 +08:00
reduce point size
This commit is contained in:
@@ -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;
|
||||
}`,
|
||||
|
||||
Reference in New Issue
Block a user