Skip to content

Commit

Permalink
change to seperate blending for alpha and color
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Nov 27, 2024
1 parent 40031de commit c3e993a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trackable_blend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const BLEND_FUNCTIONS = new Map([
[
BLEND_MODES.ADDITIVE,
(gl: WebGL2RenderingContext) => {
gl.blendEquation(gl.FUNC_ADD);
gl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE, gl.ONE, gl.ONE);
},
],
]);
Expand Down

0 comments on commit c3e993a

Please sign in to comment.