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:
Lipu Fei 2017-06-16 11:46:33 +02:00
parent adfe6ce63a
commit ade9c296ae
6 changed files with 0 additions and 12 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;