#version 450

layout(location = 0) in vec3 inPosition;
layout(location = 1) in vec3 inColor;
layout(location = 2) in vec2 inTexCoord;
layout(location = 3) in int inTexIndex;

layout(location = 0) out vec3 fragColor;
layout(location = 1) out vec2 fragTexCoord;
layout(location = 2) out int fragTexIndex;

void main() {
  gl_Position = vec4(inPosition, 1.0);
  fragColor = inColor;
  fragTexCoord = inTexCoord;
  fragTexIndex = inTexIndex;
}
