GRK/cw 8/shaders/skybox_tex.vert
2022-01-27 14:29:00 +01:00

12 lines
197 B
GLSL

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