qtk/resources/shaders/vertex/solid.vert

14 lines
180 B
GLSL
Raw Normal View History

2021-09-03 16:56:57 +00:00
#version 330
layout(location = 0) in vec3 aPosition;
out vec4 vColor;
uniform vec3 uColor;
void main()
{
gl_Position = vec4(aPosition, 1.0);
vColor = vec4(uColor, 1.0f);
}