half-earth/half-earth/shaders/tile_shader.gdshader
2022-12-07 00:08:38 +00:00

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);
}