mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 00:07:51 -06:00
Revert "Add #version 120 to make shaders work on Windows"
USL-32 This breaks OpenGL shaders on Windows and Mac.
This commit is contained in:
parent
adfe6ce63a
commit
ade9c296ae
6 changed files with 0 additions and 12 deletions
|
@ -1,6 +1,5 @@
|
|||
[shaders]
|
||||
vertex =
|
||||
#version 120
|
||||
uniform highp mat4 u_modelViewProjectionMatrix;
|
||||
uniform lowp float u_active_extruder;
|
||||
uniform lowp float u_shade_factor;
|
||||
|
@ -29,7 +28,6 @@ vertex =
|
|||
}
|
||||
|
||||
fragment =
|
||||
#version 120
|
||||
varying lowp vec4 v_color;
|
||||
varying float v_line_type;
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[shaders]
|
||||
vertex =
|
||||
#version 120
|
||||
uniform highp mat4 u_modelViewProjectionMatrix;
|
||||
attribute highp vec4 a_vertex;
|
||||
attribute highp vec2 a_uvs;
|
||||
|
@ -14,7 +13,6 @@ vertex =
|
|||
}
|
||||
|
||||
fragment =
|
||||
#version 120
|
||||
uniform sampler2D u_layer0;
|
||||
uniform sampler2D u_layer1;
|
||||
uniform sampler2D u_layer2;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[shaders]
|
||||
vertex =
|
||||
#version 120
|
||||
uniform highp mat4 u_modelViewProjectionMatrix;
|
||||
|
||||
attribute highp vec4 a_vertex;
|
||||
|
@ -15,7 +14,6 @@ vertex =
|
|||
}
|
||||
|
||||
fragment =
|
||||
#version 120
|
||||
uniform lowp vec4 u_gridColor0;
|
||||
uniform lowp vec4 u_gridColor1;
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[shaders]
|
||||
vertex =
|
||||
#version 120
|
||||
uniform highp mat4 u_modelMatrix;
|
||||
uniform highp mat4 u_viewProjectionMatrix;
|
||||
uniform highp mat4 u_normalMatrix;
|
||||
|
@ -22,7 +21,6 @@ vertex =
|
|||
}
|
||||
|
||||
fragment =
|
||||
#version 120
|
||||
uniform mediump vec4 u_ambientColor;
|
||||
uniform mediump vec4 u_diffuseColor;
|
||||
uniform mediump vec4 u_specularColor;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[shaders]
|
||||
vertex =
|
||||
#version 120
|
||||
uniform highp mat4 u_modelMatrix;
|
||||
uniform highp mat4 u_viewProjectionMatrix;
|
||||
uniform highp mat4 u_normalMatrix;
|
||||
|
@ -24,7 +23,6 @@ vertex =
|
|||
}
|
||||
|
||||
fragment =
|
||||
#version 120
|
||||
uniform mediump vec4 u_ambientColor;
|
||||
uniform mediump vec4 u_diffuseColor1;
|
||||
uniform mediump vec4 u_diffuseColor2;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[shaders]
|
||||
vertex =
|
||||
#version 120
|
||||
uniform highp mat4 u_modelMatrix;
|
||||
uniform highp mat4 u_viewProjectionMatrix;
|
||||
uniform highp mat4 u_normalMatrix;
|
||||
|
@ -22,7 +21,6 @@ vertex =
|
|||
}
|
||||
|
||||
fragment =
|
||||
#version 120
|
||||
uniform mediump vec4 u_ambientColor;
|
||||
uniform mediump vec4 u_diffuseColor;
|
||||
uniform highp vec3 u_lightPosition;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue