GRK_Project/cw 9/shaders/shader_skybox.vert
2023-02-09 14:18:46 +01:00

13 lines
217 B
GLSL

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