ludum_dare_48/res/shaders/gradient/frag.gls

11 lines
158 B
Text
Raw Permalink Normal View History

2024-08-07 05:03:38 +00:00
#version 330 core
uniform vec4 input_color;
in float value;
out vec4 color;
void main() {
color = input_color * vec4(value, value, value, 1);
}