Skip to content

Commit

Permalink
fixed (introduced with c381f20), simple dashed lines ignore alpha color
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Deubler <tim.deubler@here.com>
  • Loading branch information
TerminalTim committed Nov 29, 2023
1 parent f1a1b57 commit 5c23fed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void main(void){
float u = patternPosition / dashPosition;
gl_FragColor = u_fill * texture2D(u_dashTexture, vec2(u, v_dir.y));
#else
gl_FragColor = vec4(u_fill.rgb, step(patternPosition, dashPosition));
gl_FragColor = u_fill * step(patternPosition, dashPosition);
#endif
#endif

Expand Down

0 comments on commit 5c23fed

Please sign in to comment.