[gd_scene load_steps=7 format=3 uid="uid://bw5isfysmrbal"]

[ext_resource type="Shader" path="res://src/effects/glint/glint.gdshader" id="1_nou6p"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_puof4"]
render_priority = 0
shader = ExtResource("1_nou6p")
shader_parameter/fill_color = Color(1, 1, 1, 1)
shader_parameter/bg_color = Color(0, 0, 0, 0)
shader_parameter/outline_color = Color(0, 0, 0, 1)
shader_parameter/scale = 2.0
shader_parameter/rotation = 0.0
shader_parameter/outline_width = 0.03

[sub_resource type="QuadMesh" id="QuadMesh_8og0q"]
material = SubResource("ShaderMaterial_puof4")
size = Vector2(4, 4)

[sub_resource type="Animation" id="Animation_y26tx"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Mesh:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Mesh:mesh:material:shader_parameter/rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}

[sub_resource type="Animation" id="Animation_50few"]
resource_name = "grow"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Mesh:scale")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1.5, 2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(1.25, 1.25, 1.25), Vector3(1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Mesh:mesh:material:shader_parameter/rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 1.2, 1.4, 2),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [0.0, 3.14, 6.28, 9.42]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_5be8s"]
_data = {
"RESET": SubResource("Animation_y26tx"),
"grow": SubResource("Animation_50few")
}

[node name="Glint" type="Node3D"]

[node name="Mesh" type="MeshInstance3D" parent="."]
mesh = SubResource("QuadMesh_8og0q")

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_5be8s")
}
