Space-Project/shaders/shader_skybox.vert

12 lines
226 B
GLSL
Raw Normal View History

2021-01-17 01:26:29 +01:00
#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);
}