Skip to content

Commit

Permalink
reduced heatmaps offscreen resolution
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Deubler <tim.deubler@here.com>
  • Loading branch information
TerminalTim committed Aug 18, 2023
1 parent 9d07714 commit ce50c2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/display/src/displays/webgl/program/Heatmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce50c2e

Please sign in to comment.