aboutsummaryrefslogtreecommitdiff
path: root/08-august/resources/shaders/skyboxShader.vert
blob: 3286875674f7d9ee8a1a0962beff728cec72a425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 420

in layout(location=0) vec3 position; /* vertex position in model coordinates */
out vec3 Fragment_UV;                /* UV coordinates for the fragment */

uniform mat4 M_MVP;

void main()
{
    gl_Position = M_MVP * vec4(position, 1.0);
    Fragment_UV = position;
}