Make the build-plate-grid render mostly opaque.

Some printers looked a bit weird with the previous value. Just completely remove the two altered lines if it's still not OK though.

part of CURA-12188
This commit is contained in:
Remco Burema 2024-10-24 11:27:07 +02:00
parent a6a223bcc1
commit 0473d789ba

View file

@ -45,7 +45,7 @@ fragment =
float majorLine = min(majorGrid.x, majorGrid.y);
gl_FragColor = mix(minorGridColor, u_gridColor0, 1.0 - min(majorLine, 1.0));
gl_FragColor.a = 0.8;
gl_FragColor.a = 0.98;
}
vertex41core =
@ -89,7 +89,7 @@ fragment41core =
float majorLine = min(majorGrid.x, majorGrid.y);
frag_color = mix(minorGridColor, u_gridColor0, 1.0 - min(majorLine, 1.0));
frag_color.a = 0.8;
frag_color.a = 0.98;
}
[defaults]