mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-27 14:18:20 -06:00
12 lines
214 B
GLSL
12 lines
214 B
GLSL
|
#version 150 core
|
||
|
|
||
|
in vec3 position;
|
||
|
uniform mat4 model;
|
||
|
uniform mat4 perspective;
|
||
|
uniform mat4 view;
|
||
|
|
||
|
void main() {
|
||
|
mat4 modelview = view * model;
|
||
|
gl_Position = perspective * modelview * vec4(position, 1.);
|
||
|
}
|