Space-Project/shaders/shader_skybox.vert
2021-01-17 01:26:29 +01:00

12 lines
226 B
GLSL

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