mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 22:20:56 +08:00
reduce point size
This commit is contained in:
@@ -10,7 +10,7 @@ export default function (regl) {
|
|||||||
uniform mat4 projection, view;
|
uniform mat4 projection, view;
|
||||||
varying vec3 fragColor;
|
varying vec3 fragColor;
|
||||||
void main() {
|
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);
|
gl_Position = projection * view * vec4(position.x, -position.y, 0, 1);
|
||||||
fragColor = color;
|
fragColor = color;
|
||||||
}`,
|
}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user