mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
11 lines
203 B
GLSL
11 lines
203 B
GLSL
#version 330 core
|
|
layout (location = 0) in vec3 position;
|
|
layout (location = 1) in vec2 texCoords;
|
|
|
|
out vec2 TexCoords;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(position, 1.0f);
|
|
TexCoords = texCoords;
|
|
} |