13 lines
200 B
GLSL
13 lines
200 B
GLSL
#version 330 core
|
|
|
|
layout (location = 0) in vec3 pos;
|
|
layout (location = 1) in vec3 normal;
|
|
layout (location = 2) in vec2 uv;
|
|
|
|
out vec2 UV;
|
|
|
|
void main() {
|
|
gl_Position = vec4(pos, 1.0);
|
|
UV = uv;
|
|
}
|