[gd_scene load_steps=10 format=3 uid="uid://b8bvidqu7tmfs"]

[ext_resource type="PackedScene" uid="uid://cfk83h5xyhmor" path="res://scenes/objects/interactables/screens/debug_screen.tscn" id="1_q1qkj"]

[sub_resource type="BoxShape3D" id="BoxShape3D_sh78v"]

[sub_resource type="BoxMesh" id="BoxMesh_t4f0s"]

[sub_resource type="PrismMesh" id="PrismMesh_law6y"]

[sub_resource type="ViewportTexture" id="ViewportTexture_l2fsg"]
viewport_path = NodePath("ScreenMesh/SubViewport")

[sub_resource type="ViewportTexture" id="ViewportTexture_ckudb"]
viewport_path = NodePath("ScreenMesh/SubViewport")

[sub_resource type="ViewportTexture" id="ViewportTexture_01tli"]
viewport_path = NodePath("ScreenMesh/SubViewport")

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7alnb"]
resource_local_to_scene = true
vertex_color_use_as_albedo = true
albedo_texture = SubResource("ViewportTexture_l2fsg")
rim_tint = 1.0
rim_texture = SubResource("ViewportTexture_01tli")
backlight_enabled = true
backlight_texture = SubResource("ViewportTexture_ckudb")

[sub_resource type="PlaneMesh" id="PlaneMesh_hekp8"]
resource_local_to_scene = true
material = SubResource("StandardMaterial3D_7alnb")
size = Vector2(1, 1)

[node name="TaskTerminal" type="StaticBody3D"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_sh78v")

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

[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
mesh = SubResource("PrismMesh_law6y")

[node name="ScreenMesh" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 0.891007, 0.453991, 0, 0.453991, -0.891007, -1, -3.89471e-08, -1.98446e-08, 0.255, 1, 0)
mesh = SubResource("PlaneMesh_hekp8")

[node name="SubViewport" type="SubViewport" parent="ScreenMesh"]
size_2d_override = Vector2i(512, 512)
render_target_update_mode = 4

[node name="DebugScreen" parent="ScreenMesh/SubViewport" instance=ExtResource("1_q1qkj")]
