This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shader_type canvas_item; | |
uniform vec4 color_1 = vec4(.0, .0, .0, 1.0); | |
uniform vec4 color_2 = vec4(0.5, 0.5, 0.5, 1.0); | |
void fragment() { | |
vec4 colors[2] = {color_1, color_2}; | |
float min_diff = -1.0; |