mod_geo-tp/src/shader.vert

10 lines
149 B
GLSL

attribute vec3 pos;
uniform mat4 proj;
uniform mat4 view;
uniform mat4 model;
void main() {
gl_Position = proj * view * model * vec4(pos, 1.0);
}