mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-13 19:08:41 -06:00
11 lines
201 B
GLSL
11 lines
201 B
GLSL
#version 150 core
|
|
|
|
in vec3 position;
|
|
uniform ivec3 u_position;
|
|
uniform mat4 perspective;
|
|
uniform mat4 view;
|
|
|
|
void main() {
|
|
gl_Position = perspective * view * vec4(position + vec3(u_position), 1.);
|
|
}
|