Skip to content

Blending Per (Groups of) Layer(s) #5450

Answered by Pessimistress
ilan-gold asked this question in Q&A
Discussion options

You must be logged in to vote

You can set per-layer blending using props.parameters:

import GL from '@luma.gl/constants';

new ScatterplotLayer({
  // ...
  parameters: {
    blendFunc: [GL.ONE, GL.ONE, GL.ONE, GL.ONE],
    blendEquation: GL.FUNC_ADD
  }
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ilan-gold
Comment options

ilan-gold Feb 10, 2021
Collaborator Author

Answer selected by ilan-gold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants