mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 07:29:00 +08:00
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:
parent
a6a223bcc1
commit
0473d789ba
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user