11 lines
158 B
Text
11 lines
158 B
Text
|
#version 330 core
|
||
|
|
||
|
uniform vec4 input_color;
|
||
|
|
||
|
in float value;
|
||
|
|
||
|
out vec4 color;
|
||
|
|
||
|
void main() {
|
||
|
color = input_color * vec4(value, value, value, 1);
|
||
|
}
|