#version 330 core

layout (location = 0) in vec3 vertices;
layout (location = 1) in vec2 textCoords;

out vec2 texCoord;
out vec3 vertexPos;

void main() {
	gl_Position = vec4(vertices, 1);
	texCoord = vec2(textCoords.x, 1 - textCoords.y);
}