now you can set optional ogl version through the first 2 parameters

This commit is contained in:
Anakin
2016-11-01 14:16:18 +01:00
parent 9d35634c0c
commit bc518f58ee
4 changed files with 45 additions and 65 deletions

View File

@@ -14,7 +14,7 @@ uniform mat4 MVP;
void main(){
// Output position of the vertex, in clip space : MVP * position
gl_Position = MVP * vec4(vertexPosition_modelspace,1);
gl_Position = MVP * vec4(vertexPosition_modelspace, 1);
UV = vertexUV;