[gd_resource type="ShaderMaterial" load_steps=14 format=3 uid="uid://b5c8o7a55fyx5"]

[sub_resource type="VisualShaderNodeFloatFunc" id="VisualShaderNodeFloatFunc_4vp4h"]
output_port_for_preview = 0
function = 17

[sub_resource type="VisualShaderNodeColorConstant" id="VisualShaderNodeColorConstant_vbeir"]
constant = Color(0.169944, 0.249712, 0.97294, 1)

[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_24u0o"]
input_name = "time"

[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_e0v0j"]
default_input_values = [0, 0.0, 1, 0.8]
operator = 2

[sub_resource type="VisualShaderNodeVectorOp" id="VisualShaderNodeVectorOp_uwwfc"]
default_input_values = [0, Vector2(0, 0), 1, Vector2(1, 0)]
op_type = 0
operator = 2

[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_n3gh3"]

[sub_resource type="VisualShaderNodeVectorOp" id="VisualShaderNodeVectorOp_yqpiy"]
operator = 2

[sub_resource type="VisualShaderNodeSmoothStep" id="VisualShaderNodeSmoothStep_ludc6"]
output_port_for_preview = 0
default_input_values = [0, 0.4, 1, 0.5, 2, 0.0]

[sub_resource type="VisualShaderNodeSmoothStep" id="VisualShaderNodeSmoothStep_hpd7b"]
output_port_for_preview = 0
default_input_values = [0, 1.0, 1, 0.4, 2, 0.0]

[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_sxb5j"]
output_port_for_preview = 0
operator = 7

[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_3jcqr"]
default_input_values = [0, 0.0, 1, 0.8]
operator = 2

[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_mno13"]
output_port_for_preview = 0
expanded_output_ports = [0]
input_name = "uv"

[sub_resource type="VisualShader" id="VisualShader_buj8i"]
code = "shader_type spatial;
render_mode blend_add, cull_disabled, unshaded;




void fragment() {
// ColorConstant:19
	vec4 n_out19p0 = vec4(0.169944, 0.249712, 0.972940, 1.000000);


// Input:2
	float n_out2p0 = TIME;


// FloatOp:25
	float n_in25p1 = 0.80000;
	float n_out25p0 = n_out2p0 * n_in25p1;


// Input:5
	vec2 n_out5p0 = UV;
	float n_out5p2 = n_out5p0.g;


// VectorOp:26
	vec2 n_in26p1 = vec2(1.00000, 0.00000);
	vec2 n_out26p0 = vec2(n_out5p2) * n_in26p1;


// FloatOp:27
	float n_out27p0 = n_out25p0 + n_out26p0.x;


// FloatFunc:12
	float n_out12p0 = fract(n_out27p0);


// SmoothStep:46
	float n_in46p0 = 0.40000;
	float n_in46p1 = 0.50000;
	float n_out46p0 = smoothstep(n_in46p0, n_in46p1, n_out12p0);


// SmoothStep:47
	float n_in47p0 = 1.00000;
	float n_in47p1 = 0.40000;
	float n_out47p0 = smoothstep(n_in47p0, n_in47p1, n_out12p0);


// FloatOp:48
	float n_out48p0 = min(n_out46p0, n_out47p0);


// FloatOp:49
	float n_in49p1 = 0.80000;
	float n_out49p0 = n_out48p0 * n_in49p1;


// VectorOp:40
	vec3 n_out40p0 = vec3(n_out19p0.xyz) * vec3(n_out49p0);


// Output:0
	ALBEDO = n_out40p0;
	ALPHA = n_out49p0;


}
"
graph_offset = Vector2(-435.649, -116.438)
modes/blend = 1
modes/cull = 2
flags/unshaded = true
nodes/fragment/0/position = Vector2(1820, 0)
nodes/fragment/2/node = SubResource("VisualShaderNodeInput_24u0o")
nodes/fragment/2/position = Vector2(-480, 60)
nodes/fragment/5/node = SubResource("VisualShaderNodeInput_mno13")
nodes/fragment/5/position = Vector2(-500, 240)
nodes/fragment/12/node = SubResource("VisualShaderNodeFloatFunc_4vp4h")
nodes/fragment/12/position = Vector2(380, 140)
nodes/fragment/19/node = SubResource("VisualShaderNodeColorConstant_vbeir")
nodes/fragment/19/position = Vector2(1365, -84)
nodes/fragment/25/node = SubResource("VisualShaderNodeFloatOp_e0v0j")
nodes/fragment/25/position = Vector2(-84, 42)
nodes/fragment/26/node = SubResource("VisualShaderNodeVectorOp_uwwfc")
nodes/fragment/26/position = Vector2(-84, 210)
nodes/fragment/27/node = SubResource("VisualShaderNodeFloatOp_n3gh3")
nodes/fragment/27/position = Vector2(126, 105)
nodes/fragment/40/node = SubResource("VisualShaderNodeVectorOp_yqpiy")
nodes/fragment/40/position = Vector2(1617, -84)
nodes/fragment/46/node = SubResource("VisualShaderNodeSmoothStep_ludc6")
nodes/fragment/46/position = Vector2(700, -60)
nodes/fragment/47/node = SubResource("VisualShaderNodeSmoothStep_hpd7b")
nodes/fragment/47/position = Vector2(700, 300)
nodes/fragment/48/node = SubResource("VisualShaderNodeFloatOp_sxb5j")
nodes/fragment/48/position = Vector2(1071, 42)
nodes/fragment/49/node = SubResource("VisualShaderNodeFloatOp_3jcqr")
nodes/fragment/49/position = Vector2(1302, 84)
nodes/fragment/connections = PackedInt32Array(2, 0, 25, 0, 25, 0, 27, 0, 26, 0, 27, 1, 27, 0, 12, 0, 12, 0, 47, 2, 46, 0, 48, 0, 47, 0, 48, 1, 48, 0, 49, 0, 49, 0, 0, 1, 40, 0, 0, 0, 49, 0, 40, 1, 19, 0, 40, 0, 5, 2, 26, 0, 12, 0, 46, 2)

[resource]
render_priority = 0
shader = SubResource("VisualShader_buj8i")
