Space-Project/shaders/shader_skybox.vert
2021-01-29 02:03:00 +01:00

12 lines
233 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)).xyww;
}