Grafika2023/PlanetCreator/cw 6/shaders/shader_sky.vert

13 lines
217 B
GLSL
Raw Normal View History

2024-02-08 10:10:49 +01:00
#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);
}