aboutsummaryrefslogtreecommitdiff
path: root/apps/openmb/resources/shaders/skybox.vert
blob: 8e66a99b4eb4b210ddff6389383cf01979992c16 (plain)
1
2
3
4
5
6
7
8
9
10
#version 330 core
layout(location = 0) in vec3 aPos;
out vec3 TexCoords;
uniform mat4 view;
uniform mat4 proj;
void main()
{
    TexCoords = aPos;
    gl_Position = proj * view * vec4(aPos, 1.0);
}