mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-22 14:58:44 -06:00
14 lines
236 B
GLSL
14 lines
236 B
GLSL
#version 300 es
|
|
|
|
precision highp float;
|
|
|
|
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.);
|
|
}
|