BlockGame/crosshair/vertex.shader

9 lines
310 B
Plaintext
Raw Normal View History

2022-02-06 21:53:29 +00:00
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;
})";