From ce50c2e1ef28de4af3c2f20d86bb32e47a907e19 Mon Sep 17 00:00:00 2001 From: Tim Deubler Date: Fri, 18 Aug 2023 14:11:11 +0200 Subject: [PATCH] reduced heatmaps offscreen resolution Signed-off-by: Tim Deubler --- packages/display/src/displays/webgl/program/Heatmap.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/display/src/displays/webgl/program/Heatmap.ts b/packages/display/src/displays/webgl/program/Heatmap.ts index abcddeeb9..b08676749 100644 --- a/packages/display/src/displays/webgl/program/Heatmap.ts +++ b/packages/display/src/displays/webgl/program/Heatmap.ts @@ -56,8 +56,7 @@ class HeatmapProgram extends Program { this.vertexShaderSrc = vertexShader; this.fragmentShaderSrc = fragmentShader; - const offscreenScale = 1; - // const offscreenScale = 1 / 4; + const offscreenScale = 1 / 2; let {width, height} = gl.canvas; width *= offscreenScale; height *= offscreenScale;