[gd_resource type="VisualShader" load_steps=15 format=3 uid="uid://bjp77nc6cbjfa"]

[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_lj28b"]
default_input_values = [0, 0.0, 1, 20.0]
operator = 2

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

[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_4dkgw"]
default_input_values = [0, 0.0, 1, 5.0]
operator = 2

[sub_resource type="VisualShaderNodeFloatFunc" id="VisualShaderNodeFloatFunc_uxvhh"]
function = 0

[sub_resource type="VisualShaderNodeRemap" id="VisualShaderNodeRemap_81uiw"]
default_input_values = [1, 0.0, 2, 1.0, 3, 0.2, 4, 0.7]

[sub_resource type="VisualShaderNodeRemap" id="VisualShaderNodeRemap_8lgdt"]

[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_gga1y"]
input_name = "uv"

[sub_resource type="VisualShaderNodeVectorDecompose" id="VisualShaderNodeVectorDecompose_drjer"]
default_input_values = [0, Vector2(0, 0)]
op_type = 0

[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_yticp"]
default_input_values = [0, 0.0, 1, 300.0]
operator = 2

[sub_resource type="VisualShaderNodeFloatFunc" id="VisualShaderNodeFloatFunc_ddbac"]
function = 0

[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_xhnjp"]
input_name = "texture"

[sub_resource type="VisualShaderNodeTexture" id="VisualShaderNodeTexture_07hhb"]
expanded_output_ports = [0]
source = 5

[sub_resource type="VisualShaderNodeMix" id="VisualShaderNodeMix_kljpx"]

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

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




void fragment() {
// Input:2
	vec2 n_out2p0 = UV;


// VectorDecompose:3
	float n_out3p0 = n_out2p0.x;
	float n_out3p1 = n_out2p0.y;


// FloatOp:4
	float n_in4p1 = 300.00000;
	float n_out4p0 = n_out3p1 * n_in4p1;


// Input:9
	float n_out9p0 = TIME;


// FloatOp:10
	float n_in10p1 = 20.00000;
	float n_out10p0 = n_out9p0 * n_in10p1;


// FloatOp:11
	float n_out11p0 = n_out4p0 + n_out10p0;


// FloatFunc:5
	float n_out5p0 = sin(n_out11p0);


// FloatOp:12
	float n_in12p1 = 5.00000;
	float n_out12p0 = n_out9p0 * n_in12p1;


// FloatFunc:13
	float n_out13p0 = sin(n_out12p0);


	float n_out14p0;
// Remap:14
	float n_in14p1 = 0.00000;
	float n_in14p2 = 1.00000;
	float n_in14p3 = 0.20000;
	float n_in14p4 = 0.70000;
	{
		float __input_range = n_in14p2 - n_in14p1;
		float __output_range = n_in14p4 - n_in14p3;
		n_out14p0 = n_in14p3 + __output_range * ((n_out13p0 - n_in14p1) / __input_range);
	}


	float n_out15p0;
// Remap:15
	float n_in15p1 = 0.00000;
	float n_in15p2 = 1.00000;
	float n_in15p4 = 1.00000;
	{
		float __input_range = n_in15p2 - n_in15p1;
		float __output_range = n_in15p4 - n_out14p0;
		n_out15p0 = n_out14p0 + __output_range * ((n_out5p0 - n_in15p1) / __input_range);
	}


	vec4 n_out7p0;
// Texture2D:7
	n_out7p0 = texture(TEXTURE, UV);
	float n_out7p4 = n_out7p0.a;


// Mix:8
	float n_in8p0 = 0.00000;
	float n_out8p0 = mix(n_in8p0, n_out15p0, n_out7p4);


// Output:0
	COLOR.a = n_out8p0;


}
"
mode = 1
flags/light_only = false
nodes/fragment/0/position = Vector2(2960, 500)
nodes/fragment/2/node = SubResource("VisualShaderNodeInput_gga1y")
nodes/fragment/2/position = Vector2(60, 240)
nodes/fragment/3/node = SubResource("VisualShaderNodeVectorDecompose_drjer")
nodes/fragment/3/position = Vector2(540, 80)
nodes/fragment/4/node = SubResource("VisualShaderNodeFloatOp_yticp")
nodes/fragment/4/position = Vector2(860, 220)
nodes/fragment/5/node = SubResource("VisualShaderNodeFloatFunc_ddbac")
nodes/fragment/5/position = Vector2(1620, 520)
nodes/fragment/6/node = SubResource("VisualShaderNodeInput_xhnjp")
nodes/fragment/6/position = Vector2(320, 1000)
nodes/fragment/7/node = SubResource("VisualShaderNodeTexture_07hhb")
nodes/fragment/7/position = Vector2(1620, 1000)
nodes/fragment/8/node = SubResource("VisualShaderNodeMix_kljpx")
nodes/fragment/8/position = Vector2(2380, 740)
nodes/fragment/9/node = SubResource("VisualShaderNodeInput_hxwd7")
nodes/fragment/9/position = Vector2(840, 80)
nodes/fragment/10/node = SubResource("VisualShaderNodeFloatOp_lj28b")
nodes/fragment/10/position = Vector2(1380, 80)
nodes/fragment/11/node = SubResource("VisualShaderNodeFloatOp_3u088")
nodes/fragment/11/position = Vector2(1200, 500)
nodes/fragment/12/node = SubResource("VisualShaderNodeFloatOp_4dkgw")
nodes/fragment/12/position = Vector2(1740, -20)
nodes/fragment/13/node = SubResource("VisualShaderNodeFloatFunc_uxvhh")
nodes/fragment/13/position = Vector2(2040, 40)
nodes/fragment/14/node = SubResource("VisualShaderNodeRemap_81uiw")
nodes/fragment/14/position = Vector2(2540, 160)
nodes/fragment/15/node = SubResource("VisualShaderNodeRemap_8lgdt")
nodes/fragment/15/position = Vector2(2020, 360)
nodes/fragment/connections = PackedInt32Array(2, 0, 3, 0, 3, 1, 4, 0, 6, 0, 7, 2, 7, 4, 8, 2, 9, 0, 10, 0, 8, 0, 0, 1, 10, 0, 11, 1, 4, 0, 11, 0, 11, 0, 5, 0, 9, 0, 12, 0, 12, 0, 13, 0, 13, 0, 14, 0, 5, 0, 15, 0, 14, 0, 15, 3, 15, 0, 8, 1)
