Kaydet (Commit) fbddfdec authored tarafından Markus Mohrhard's avatar Markus Mohrhard

we need to switch to OpenGL 3.2 core for OSX

A 3.2 core context only supports GLSL 150 core and above. This at least
removes all vompile errors related to missing or wrong version
requirements. In a next step we need to make use of modern GLSL features
now.

Change-Id: I59f1bc84ab4f64cc6520309b7da25adc3e116997
üst 653ace96
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core core
varying vec4 fragmentColor;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
attribute vec3 vPosition;
uniform mat4 MVP;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
varying vec4 fragmentColor;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
attribute vec3 vPosition;
uniform mat4 MVP;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
varying vec4 fragmentColor;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
attribute vec3 vPosition;
uniform vec4 vColor;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
uniform float minCoordX;
varying vec3 positionWorldspace;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
attribute vec3 vPosition;
uniform mat4 MVP;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
uniform sampler2D RenderTex;
varying vec2 vTexCoord;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
attribute vec4 vPosition;
attribute vec2 texCoord;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
varying vec2 vTexCoord;
uniform sampler2D TextTex;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
attribute vec3 vPosition;
attribute vec2 texCoord;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
#define MAX_LIGHT_NUM 8
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
attribute vec3 vertexPositionModelspace;
attribute vec3 vertexNormalModelspace;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
varying vec4 fragmentColor;
uniform int shape;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
attribute vec3 vPosition;
uniform mat4 MVP;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
uniform sampler2D TextTex;
varying vec2 vTexCoord;
......
......@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 130
#version 150 core
attribute vec3 vPosition;
uniform mat4 MVP;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment