mirror of
https://gitlab.com/yikestone/qt_pi.git
synced 2025-08-03 21:54:12 +05:30
11 lines
177 B
GLSL
11 lines
177 B
GLSL
#version 330
|
|
layout(location = 0) in vec3 position;
|
|
layout(location = 1) in vec4 color;
|
|
out vec4 vColor;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(position, 1.0);
|
|
vColor = color;
|
|
}
|