12 lines
226 B
GLSL
12 lines
226 B
GLSL
|
#version 330 core
|
||
|
layout(location = 0) in vec3 vertexPosition;
|
||
|
|
||
|
out vec3 TexCoords;
|
||
|
|
||
|
uniform mat4 transformation;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
TexCoords = vertexPosition;
|
||
|
gl_Position = transformation * vec4(vertexPosition, 1.0);
|
||
|
}
|