grk_5sem_labs/cw 2/shaders/shader_2_1b.vert

12 lines
186 B
GLSL
Raw Normal View History

2023-11-18 02:25:43 +01:00
#version 430 core
layout(location = 0) in vec4 vertexPosition;
layout(location = 1) in float vertexHue;
out float hue;
void main()
{
hue = vertexHue;
gl_Position = vertexPosition;
}