opengl-playground/shaders/2d-passthrough-vertex.glsl

9 lines
140 B
Plaintext
Raw Permalink Normal View History

2020-03-18 22:42:04 +01:00
#version 330 core
layout (location = 0) in vec2 inputVertex;
void main()
{
gl_Position = vec4(inputVertex.x, inputVertex.y, 0.0, 1.0);
}