mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 10:15:54 +08:00
Made layers.shader compatibility shader compatible. CURA-3273
This commit is contained in:
parent
ed1fea2d3e
commit
4057996e23
@ -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…
x
Reference in New Issue
Block a user