#version 460 core

layout(location = 0) in vec3 vertex;
layout(location = 1) in vec2 texture_coordinate;
layout(location = 2) out vec2 texture_coordinate_out;

uniform mat4 mvp;

void main() {
  gl_Position = mvp * vec4(vertex, 1.0);
  texture_coordinate_out = texture_coordinate;
}

// Simple vertex shader for Flutter app compatibility
vec4 vertexMain() {
  return gl_Position;
}
