Skip to content

Commit

Permalink
fixed(display): The alpha blending of heatmaps has been corrected and…
Browse files Browse the repository at this point in the history
… is now functioning as intended.

Signed-off-by: Tim Deubler <[email protected]>
  • Loading branch information
TerminalTim committed Jan 30, 2024
1 parent 29c01e1 commit 8871418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/display/src/displays/webgl/GradientFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class GradientFactory {

const data = ctx.getImageData(0, 0, width, height).data;

texture = new GradientTexture(this.gl, {width, height, data}, {premultiplyAlpha: false});
texture = new GradientTexture(this.gl, {width, height, data}, {premultiplyAlpha: true});
texture.gradient = gradientConfig;
texture.factory = this;

Expand Down

0 comments on commit 8871418

Please sign in to comment.