m2b-ar-tp2/shaders/fish.vert

10 lines
169 B
GLSL

attribute vec3 position;
uniform mat4 projection;
uniform mat4 view;
uniform mat4 model;
void main() {
gl_Position = projection * view * model * vec4(position, 1);
}