[gd_resource type="VisualShader" load_steps=4 format=3 uid="uid://bcnip762rd6yj"]

[sub_resource type="VisualShaderNodeColorParameter" id="VisualShaderNodeColorParameter_llme6"]
expanded_output_ports = [0]
parameter_name = "FlashColor"

[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_k72xm"]
expanded_output_ports = [0]
input_name = "color"

[sub_resource type="VisualShaderNodeMix" id="VisualShaderNodeMix_oth8y"]
default_input_values = [0, Vector3(0, 0, 0), 1, Vector3(1, 1, 1), 2, Vector3(0, 0, 0)]
op_type = 3

[resource]
code = "shader_type canvas_item;
render_mode blend_mix;

uniform vec4 FlashColor : source_color;



void fragment() {
// Input:3
	vec4 n_out3p0 = COLOR;
	float n_out3p4 = n_out3p0.a;


// ColorParameter:2
	vec4 n_out2p0 = FlashColor;
	float n_out2p4 = n_out2p0.a;


// Mix:4
	vec3 n_out4p0 = mix(vec3(n_out3p0.xyz), vec3(n_out2p0.xyz), vec3(n_out2p4));


// Output:0
	COLOR.rgb = n_out4p0;
	COLOR.a = n_out3p4;


}
"
mode = 1
flags/light_only = false
nodes/fragment/0/position = Vector2(600, -60)
nodes/fragment/2/node = SubResource("VisualShaderNodeColorParameter_llme6")
nodes/fragment/2/position = Vector2(-40, 140)
nodes/fragment/3/node = SubResource("VisualShaderNodeInput_k72xm")
nodes/fragment/3/position = Vector2(-60, -60)
nodes/fragment/4/node = SubResource("VisualShaderNodeMix_oth8y")
nodes/fragment/4/position = Vector2(300, 100)
nodes/fragment/connections = PackedInt32Array(3, 4, 0, 1, 3, 0, 4, 0, 2, 0, 4, 1, 4, 0, 0, 0, 2, 4, 4, 2)
