opengl-playground/imgui-submodule/imgui/examples/shaders/2d-passthrough-vertex.glsl
2020-03-21 22:38:10 +01:00

9 lines
140 B
GLSL

#version 330 core
layout (location = 0) in vec2 inputVertex;
void main()
{
gl_Position = vec4(inputVertex.x, inputVertex.y, 0.0, 1.0);
}