GRK/cw 6/shaders/skybox_tex.vert
2022-01-30 13:02:30 +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);
}