7 lines
147 B
Plaintext
7 lines
147 B
Plaintext
shader_type canvas_item;
|
|
uniform vec4 top : source_color;
|
|
uniform vec4 bottom : source_color;
|
|
void fragment() {
|
|
COLOR = mix(top, bottom, UV.y);
|
|
}
|