7 lines
154 B
GLSL
7 lines
154 B
GLSL
#version 330 core
|
|
layout(location = 0) in vec2 aPos;
|
|
uniform float uYOffset;
|
|
void main() {
|
|
gl_Position = vec4(aPos.x, aPos.y + uYOffset, 0.0, 1.0);
|
|
}
|