TimeCoil/shaders/shader.vert

10 lines
197 B
GLSL
Raw Normal View History

2025-01-18 03:10:32 +03:00
#version 330 core
layout (location = 0) in vec3 aPos;
2025-01-19 00:54:19 +03:00
layout (location = 1) in vec3 col;
out vec3 frag_col;
2025-01-18 03:10:32 +03:00
void main()
{
2025-01-19 00:54:19 +03:00
frag_col = col;
2025-01-18 03:10:32 +03:00
gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
}