mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Make grid-translucency depend on if machine has texture on BP.
part of CURA-12188
This commit is contained in:
parent
8bf6320ff0
commit
c89b708525
33 changed files with 56 additions and 21 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.98;
|
||||
gl_FragColor.a = u_plateColor.a;
|
||||
}
|
||||
|
||||
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.98;
|
||||
frag_color.a = u_plateColor.a;
|
||||
}
|
||||
|
||||
[defaults]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue