mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
11 lines
196 B
GLSL
11 lines
196 B
GLSL
#version 330 core
|
|
layout (location = 0) in vec3 aPos;
|
|
layout (location = 1) in vec2 aTexCoords;
|
|
|
|
out vec2 TexCoords;
|
|
|
|
void main()
|
|
{
|
|
TexCoords = aTexCoords;
|
|
gl_Position = vec4(aPos, 1.0);
|
|
} |