BlockGame/crosshair/vertex.shader
2022-02-06 22:53:29 +01:00

9 lines
310 B
GLSL

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;
})";