GRK-Projekt/grafika_projekt/shaders/skybox.vert
2021-12-26 21:36:32 +01:00

12 lines
209 B
GLSL

#version 410 core
layout (location = 0) in vec3 aPos;
out vec3 TexCoords;
uniform mat4 projectionViewMatrix;
void main()
{
TexCoords = aPos;
gl_Position = projectionViewMatrix * vec4(aPos, 1.0);
}