R"(#version 330 core // Input vertex data, different for all executions of this shader. layout(location = 0) in vec2 vertexPosition_modelspace; void main(){ // Output position of the vertex, in clip space : MVP * position vec4 pos = vec4(vertexPosition_modelspace,0.0,1.0); gl_Position = pos; })";