mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Added comment. CURA-3273
This commit is contained in:
parent
47ab49795f
commit
cc950732b6
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ vertex =
|
|||
void main()
|
||||
{
|
||||
gl_Position = u_modelViewProjectionMatrix * a_vertex;
|
||||
// shade the color depending on the extruder index
|
||||
v_color = a_color;
|
||||
if ((a_line_type != 8.0) && (a_line_type != 9.0)) {
|
||||
v_color = (a_extruder == u_active_extruder) ? v_color : vec4(u_shade_factor * v_color.rgb, v_color.a);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue