m2b-ar-tp2/shaders/fish.vert
2021-10-06 23:41:17 +02:00

14 lines
234 B
GLSL

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