2024-04-22 19:57:23 +08:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://c63e3ugq35q5g"]
|
2024-04-19 13:15:35 +08:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://experiments/psd_panel.gd" id="1_wg3fd"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c5vvgu50akjwl" path="res://experiments/psd_panel_ui.tscn" id="2_rtht1"]
|
|
|
|
|
2024-04-30 18:09:56 +08:00
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_c7xnk"]
|
2024-04-19 13:15:35 +08:00
|
|
|
viewport_path = NodePath("LabelTexture")
|
|
|
|
|
2024-04-22 19:57:23 +08:00
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pbh8q"]
|
2024-04-30 18:09:56 +08:00
|
|
|
albedo_texture = SubResource("ViewportTexture_c7xnk")
|
2024-04-27 10:02:45 +08:00
|
|
|
uv1_scale = Vector3(4, 1, 1)
|
2024-04-22 19:57:23 +08:00
|
|
|
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_mfy0l"]
|
|
|
|
resource_local_to_scene = true
|
2024-04-30 18:09:56 +08:00
|
|
|
size = Vector2(131.533, 2)
|
2024-04-22 19:57:23 +08:00
|
|
|
orientation = 2
|
|
|
|
|
2024-04-19 13:15:35 +08:00
|
|
|
[node name="PSD_Panel" type="Node3D"]
|
|
|
|
script = ExtResource("1_wg3fd")
|
2024-04-22 19:57:23 +08:00
|
|
|
repeat_times = 4.0
|
2024-04-27 10:02:45 +08:00
|
|
|
panel_width = 131.533
|
2024-04-19 13:15:35 +08:00
|
|
|
|
|
|
|
[node name="LabelTexture" type="SubViewport" parent="."]
|
2024-04-22 19:57:23 +08:00
|
|
|
canvas_item_default_texture_repeat = 1
|
|
|
|
size = Vector2i(1800, 256)
|
|
|
|
render_target_clear_mode = 2
|
2024-04-19 13:15:35 +08:00
|
|
|
|
|
|
|
[node name="PSD_Panel_UI" parent="LabelTexture" instance=ExtResource("2_rtht1")]
|
|
|
|
|
2024-04-22 19:57:23 +08:00
|
|
|
[node name="Plane" type="MeshInstance3D" parent="."]
|
|
|
|
material_override = SubResource("StandardMaterial3D_pbh8q")
|
|
|
|
mesh = SubResource("PlaneMesh_mfy0l")
|