fixed the path rebuilding lag

This commit is contained in:
2026-02-08 02:10:23 +11:00
parent fd9b62faba
commit e441a121ff
26 changed files with 629 additions and 385 deletions

35
path_vfx.tscn Normal file
View File

@@ -0,0 +1,35 @@
[gd_scene format=3 uid="uid://dywi5lu2c7y0f"]
[ext_resource type="Script" uid="uid://ca8u5ji004qkp" path="res://path_vfx.gd" id="1_npwh2"]
[ext_resource type="Material" uid="uid://bqn48u5unlnmj" path="res://path_material.tres" id="2_avv77"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_avv77"]
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
[sub_resource type="Sky" id="Sky_a4eki"]
sky_material = SubResource("ProceduralSkyMaterial_avv77")
[sub_resource type="Environment" id="Environment_2hybw"]
background_mode = 2
sky = SubResource("Sky_a4eki")
tonemap_mode = 2
glow_enabled = true
[node name="Node3D" type="MeshInstance3D" unique_id=401062502]
script = ExtResource("1_npwh2")
line_width = 0.4
material = ExtResource("2_avv77")
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=336386562]
environment = SubResource("Environment_2hybw")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=365896800]
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
shadow_enabled = true
directional_shadow_max_distance = 1.0
[node name="Camera3D" type="Camera3D" parent="." unique_id=2114620631]
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 1.4980783, 1.4475169, 1.9058113)
projection = 1
size = 8.752