Skip to content

How to handle line joints in gradient lines? #7372

Answered by AdriSolid
lianzhao asked this question in Q&A
Discussion options

You must be logged in to vote

An additive blending could work:

parameters: {
   blendFunc: [0x0302, 0x0304], // GL.SRC_ALPHA, GL.DST_ALPHA
   blendEquation: 0x8006 // GL.FUNC_ADD
}

So you get something like:

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lianzhao
Comment options

Answer selected by lianzhao
Comment options

You must be logged in to vote
1 reply
@sorodrigo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants