Blending Per (Groups of) Layer(s) #5450
-
Hello, Is it possible to blend the "top" n layers one way and the "bottom" n layers another way? My assumption has always been "no" since to my knowledge the blending is controlled by |
Beta Was this translation helpful? Give feedback.
Answered by
Pessimistress
Feb 10, 2021
Replies: 1 comment 1 reply
-
You can set per-layer blending using import GL from '@luma.gl/constants';
new ScatterplotLayer({
// ...
parameters: {
blendFunc: [GL.ONE, GL.ONE, GL.ONE, GL.ONE],
blendEquation: GL.FUNC_ADD
}
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ilan-gold
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set per-layer blending using
props.parameters
: