summaryrefslogtreecommitdiff
path: root/txtgameengine/builtin_res/shaders/texture/vertex.glsl
blob: dd93afb3f690d7524aab4f372329346185d417b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 330 core

layout(location=0) in vec3 vertexPosition_modelspace;
layout(location=1) in vec2 vertexUV;

out vec2 UV;

void main() {
    gl_Position = vec4(vertexPosition_modelspace, 1);
    UV = vertexUV;
}