43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
|
[gd_scene load_steps=9 format=3 uid="uid://dgb0tgqsh1bxw"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://test/UIInsideBackdrop.gd" id="1_jjfhv"]
|
||
|
[ext_resource type="Script" path="res://vfx/Backdrop3D.gd" id="1_ovtvp"]
|
||
|
[ext_resource type="Shader" path="res://vfx/identity.gdshader" id="1_yybha"]
|
||
|
[ext_resource type="Script" path="res://vfx/SameSizedSubViewport.gd" id="3_rjyio"]
|
||
|
[ext_resource type="Script" path="res://vfx/UIAutoloadGrabber.gd" id="5_sxgdv"]
|
||
|
|
||
|
[sub_resource type="ViewportTexture" id="ViewportTexture_y77lv"]
|
||
|
viewport_path = NodePath("Backdrop3D/SubViewport")
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_c75jn"]
|
||
|
resource_local_to_scene = true
|
||
|
render_priority = 0
|
||
|
shader = ExtResource("1_yybha")
|
||
|
shader_parameter/wet = 0.0
|
||
|
shader_parameter/image = SubResource("ViewportTexture_y77lv")
|
||
|
|
||
|
[sub_resource type="PlaneMesh" id="PlaneMesh_aqykr"]
|
||
|
resource_local_to_scene = true
|
||
|
material = SubResource("ShaderMaterial_c75jn")
|
||
|
|
||
|
[node name="UIInsideBackdrop" type="Node3D"]
|
||
|
process_mode = 3
|
||
|
script = ExtResource("1_jjfhv")
|
||
|
|
||
|
[node name="Backdrop3D" type="MeshInstance3D" parent="."]
|
||
|
mesh = SubResource("PlaneMesh_aqykr")
|
||
|
script = ExtResource("1_ovtvp")
|
||
|
interactive = true
|
||
|
|
||
|
[node name="SubViewport" type="SubViewport" parent="Backdrop3D"]
|
||
|
script = ExtResource("3_rjyio")
|
||
|
|
||
|
[node name="UIAutoloadGrabber" type="Control" parent="Backdrop3D/SubViewport"]
|
||
|
layout_mode = 3
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
script = ExtResource("5_sxgdv")
|