Portal viewports seem to lag behind 1 frame
This commit is contained in:
parent
18f44db3fc
commit
da068feed1
@ -13,4 +13,5 @@ script = ExtResource("1_jsd0o")
|
||||
|
||||
[node name="Cone" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, -0.5)
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("PrismMesh_llqtg")
|
||||
|
@ -11,6 +11,7 @@ config_version=5
|
||||
[application]
|
||||
|
||||
config/name="Test portal transformations"
|
||||
run/main_scene="uid://bjp6cbtfne2qj"
|
||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
|
1
world.gd.uid
Normal file
1
world.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://doog05mg3bciu
|
@ -1,5 +1,6 @@
|
||||
[gd_scene load_steps=23 format=4 uid="uid://bjp6cbtfne2qj"]
|
||||
[gd_scene load_steps=24 format=4 uid="uid://bjp6cbtfne2qj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://doog05mg3bciu" path="res://world.gd" id="1_dwbse"]
|
||||
[ext_resource type="Material" uid="uid://ghbu2w8ocp64" path="res://material_01.tres" id="1_f3sb7"]
|
||||
[ext_resource type="Shader" uid="uid://c13etsjuimkrs" path="res://portal_shader.gdshader" id="2_036b0"]
|
||||
[ext_resource type="PackedScene" uid="uid://ja485k5pgefb" path="res://node_label.tscn" id="2_fj7yv"]
|
||||
@ -83,6 +84,7 @@ albedo_color = Color(0.655993, 0.310296, 1, 1)
|
||||
material = SubResource("StandardMaterial3D_dwbse")
|
||||
|
||||
[node name="World" type="Node3D"]
|
||||
script = ExtResource("1_dwbse")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_pkg7o")
|
||||
@ -108,6 +110,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.49309, 0)
|
||||
text = "PortalA"
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="PortalA"]
|
||||
process_priority = 1000
|
||||
size = Vector2i(1920, 1080)
|
||||
|
||||
[node name="PortalCamera" parent="PortalA/SubViewport" node_paths=PackedStringArray("home", "target", "portal_mesh", "player_camera") instance=ExtResource("3_tlwt5")]
|
||||
@ -135,6 +138,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.49309, 0)
|
||||
text = "PortalB"
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="PortalB"]
|
||||
process_priority = 1000
|
||||
size = Vector2i(1920, 1080)
|
||||
|
||||
[node name="PortalCamera" parent="PortalB/SubViewport" node_paths=PackedStringArray("home", "target", "portal_mesh", "player_camera") instance=ExtResource("3_tlwt5")]
|
||||
|
Loading…
Reference in New Issue
Block a user