mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-09 10:13:21 +08:00
9 lines
129 B
GLSL
9 lines
129 B
GLSL
#version 400 core
|
|
|
|
// shader inputs
|
|
layout (location = 0) in vec3 position;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(position, 1.0f);
|
|
} |