We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3057eb commit 7e00e62Copy full SHA for 7e00e62
packages/display/src/displays/webgl/glsl/line_fragment.glsl
@@ -26,7 +26,8 @@ void main(void){
26
}
27
28
#ifdef DASHARRAY
29
- float dashSize = v_dashSize.x;
+ // Ensure dashSize remains valid: if set to 0 (dynamic uniform), set to large value to force a solid line
30
+ float dashSize = v_dashSize.x + (1.0 - step(0.1, v_dashSize.x)) * 1e5;
31
float gapSize = v_dashSize.y;
32
float totalDashSize = dashSize + gapSize;
33
0 commit comments