12 lines
197 B
GLSL
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);
|
||
|
}
|