GRK/cw 8/shaders/skybox_tex.vert

12 lines
197 B
GLSL
Raw Normal View History

2022-01-27 14:29:00 +01:00
#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);
}