ludum_dare_48/res/shaders/gradient/frag.gls

11 lines
158 B
Text
Raw Normal View History

2021-04-25 21:48:30 +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);
}