mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue