godot_experiments/experiments/psd_panel.tscn

33 lines
1.1 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://c63e3ugq35q5g"]
[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"]
[sub_resource type="ViewportTexture" id="ViewportTexture_c7xnk"]
viewport_path = NodePath("LabelTexture")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pbh8q"]
albedo_texture = SubResource("ViewportTexture_c7xnk")
uv1_scale = Vector3(4, 1, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_mfy0l"]
resource_local_to_scene = true
size = Vector2(131.533, 2)
orientation = 2
[node name="PSD_Panel" type="Node3D"]
script = ExtResource("1_wg3fd")
repeat_times = 4.0
panel_width = 131.533
[node name="LabelTexture" type="SubViewport" parent="."]
canvas_item_default_texture_repeat = 1
size = Vector2i(1800, 256)
render_target_clear_mode = 2
[node name="PSD_Panel_UI" parent="LabelTexture" instance=ExtResource("2_rtht1")]
[node name="Plane" type="MeshInstance3D" parent="."]
material_override = SubResource("StandardMaterial3D_pbh8q")
mesh = SubResource("PlaneMesh_mfy0l")