mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 16:27:51 -06:00
Made layers.shader compatibility shader compatible. CURA-3273
This commit is contained in:
parent
ed1fea2d3e
commit
4057996e23
1 changed files with 3 additions and 5 deletions
|
@ -26,10 +26,8 @@ vertex =
|
||||||
}
|
}
|
||||||
|
|
||||||
fragment =
|
fragment =
|
||||||
in lowp vec4 v_color;
|
varying lowp vec4 v_color;
|
||||||
in float v_line_type;
|
varying float v_line_type;
|
||||||
|
|
||||||
out vec4 frag_color;
|
|
||||||
|
|
||||||
uniform int u_show_travel_moves;
|
uniform int u_show_travel_moves;
|
||||||
uniform int u_show_support;
|
uniform int u_show_support;
|
||||||
|
@ -68,7 +66,7 @@ fragment =
|
||||||
discard;
|
discard;
|
||||||
}
|
}
|
||||||
|
|
||||||
frag_color = v_color;
|
gl_FragColor = u_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
vertex41core =
|
vertex41core =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue