12 lines
206 B
GLSL

#version 330 core
layout (location = 0) in vec3 pos;
out float Height;
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;
void main() {
Height = pos.y;
gl_Position = vec4(pos, 1.0);
}