10 lines
175 B
Plaintext
10 lines
175 B
Plaintext
shader_type canvas_item;
|
|
|
|
uniform vec4 lowColor : hint_color;
|
|
uniform vec4 highColor : hint_color;
|
|
uniform float t;
|
|
|
|
void fragment() {
|
|
COLOR = mix(lowColor, highColor, t);
|
|
}
|