mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Add #version 120 to make shaders work on Windows
USL-32
This commit is contained in:
parent
3240338f6d
commit
adfe6ce63a
6 changed files with 12 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
[shaders]
|
||||
vertex =
|
||||
#version 120
|
||||
uniform highp mat4 u_modelViewProjectionMatrix;
|
||||
uniform lowp float u_active_extruder;
|
||||
uniform lowp float u_shade_factor;
|
||||
|
@ -28,6 +29,7 @@ vertex =
|
|||
}
|
||||
|
||||
fragment =
|
||||
#version 120
|
||||
varying lowp vec4 v_color;
|
||||
varying float v_line_type;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue