1
0
Fork 0
fgdata/Shaders/ShaderVG/color_ramp.vert
2024-02-07 00:36:37 +01:00

13 lines
183 B
GLSL

// -*-C++-*-
#version 330 core
out vec4 interpolateColor;
in vec2 step;
in vec4 stepColor;
void main()
{
gl_Position = vec4(step.xy, 0, 1);
interpolateColor = stepColor;
}