Files
godot-demo-projects/xr/openxr_render_models/main.tscn
Hugo Locurcio b4eff8de9d Update all demos for Godot 4.6, fix Global Illumination demo
- Rebake lightmaps in Global Illumination demo with supersampling
  to improve quality.
- Increase SDFGI quality in the Global Illumination demo
  (slightly more demanding, but better matches the quality standards
  of 2026).

All demos had Project > Tools > Upgrade Project Files ran on them
with 4.6.stable (4.6.stable.mono for demos in the `mono/` folder).
2026-02-10 23:56:35 +01:00

121 lines
6.0 KiB
Plaintext

[gd_scene format=3 uid="uid://cdgl0r5ii433j"]
[ext_resource type="Script" uid="uid://buugqoh2qk24v" path="res://start_vr.gd" id="1_1bvp3"]
[ext_resource type="Script" uid="uid://bqq7bd6sumeyb" path="res://collision_hands.gd" id="1_ig7tw"]
[ext_resource type="Texture2D" uid="uid://bta7v3w2y42rx" path="res://assets/pattern.png" id="2_h2yge"]
[ext_resource type="PackedScene" uid="uid://dni7upn1w04ie" path="res://box.tscn" id="3_1bvp3"]
[ext_resource type="PackedScene" uid="uid://dpj2x4j0g3pdg" path="res://wall.tscn" id="5_lquwl"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_7dm0k"]
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
[sub_resource type="Sky" id="Sky_ig7tw"]
sky_material = SubResource("ProceduralSkyMaterial_7dm0k")
[sub_resource type="Environment" id="Environment_0xm2m"]
background_mode = 2
sky = SubResource("Sky_ig7tw")
tonemap_mode = 2
[sub_resource type="SphereShape3D" id="SphereShape3D_0xm2m"]
radius = 0.02
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_lquwl"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7mycd"]
albedo_color = Color(0.3241276, 0.50004333, 0.2159737, 1)
albedo_texture = ExtResource("2_h2yge")
uv1_scale = Vector3(100, 100, 100)
[sub_resource type="PlaneMesh" id="PlaneMesh_272bh"]
material = SubResource("StandardMaterial3D_7mycd")
size = Vector2(1000, 1000)
[node name="Main" type="Node3D" unique_id=1884266700]
[node name="StartVR" type="Node3D" parent="." unique_id=1087487954]
script = ExtResource("1_1bvp3")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=767555567]
transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0)
shadow_enabled = true
shadow_bias = 0.01
directional_shadow_max_distance = 50.0
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1303572169]
environment = SubResource("Environment_0xm2m")
[node name="XROrigin3D" type="XROrigin3D" parent="." unique_id=1320912927]
[node name="XRCamera3D" type="XRCamera3D" parent="XROrigin3D" unique_id=785191512]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0)
[node name="OpenXRRenderManager" type="OpenXRRenderModelManager" parent="XROrigin3D" unique_id=2143672938]
tracker = 1
[node name="LeftHand" type="XRController3D" parent="XROrigin3D" unique_id=1943597716]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 1, -0.5)
tracker = &"left_hand"
pose = &"grip"
[node name="CollisionHands3D" type="AnimatableBody3D" parent="XROrigin3D/LeftHand" unique_id=2142004384]
script = ExtResource("1_ig7tw")
[node name="OpenXRRenderManager" type="OpenXRRenderModelManager" parent="XROrigin3D/LeftHand/CollisionHands3D" unique_id=814025301]
tracker = 2
make_local_to_pose = "grip"
[node name="CollisionShape3D" type="CollisionShape3D" parent="XROrigin3D/LeftHand/CollisionHands3D" unique_id=1992629503]
shape = SubResource("SphereShape3D_0xm2m")
[node name="RightHand" type="XRController3D" parent="XROrigin3D" unique_id=1012604584]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 1, -0.5)
tracker = &"right_hand"
pose = &"grip"
[node name="CollisionHands3D" type="AnimatableBody3D" parent="XROrigin3D/RightHand" unique_id=2125548106]
script = ExtResource("1_ig7tw")
[node name="OpenXRRenderManager" type="OpenXRRenderModelManager" parent="XROrigin3D/RightHand/CollisionHands3D" unique_id=1688127358]
tracker = 3
make_local_to_pose = "grip"
[node name="CollisionShape3D" type="CollisionShape3D" parent="XROrigin3D/RightHand/CollisionHands3D" unique_id=2094825136]
shape = SubResource("SphereShape3D_0xm2m")
[node name="Floor" type="StaticBody3D" parent="." unique_id=1385802602]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor" unique_id=1185332260]
shape = SubResource("WorldBoundaryShape3D_lquwl")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor" unique_id=795599866]
mesh = SubResource("PlaneMesh_272bh")
[node name="Box" parent="." unique_id=1508478189 instance=ExtResource("3_1bvp3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.75, 0.5, -0.75)
[node name="Wall01" parent="." unique_id=1975094022 instance=ExtResource("5_lquwl")]
transform = Transform3D(0.5077975, 0.073525466, 0.8583331, -0.14741239, 0.989072, 0.0024858303, -0.8487705, -0.12779121, 0.5130869, -1.3576927, -0.4236443, 0)
[node name="Wall02" parent="." unique_id=2106476295 instance=ExtResource("5_lquwl")]
transform = Transform3D(-0.4400646, -0.09660582, 0.89275444, 0, 0.9941961, 0.10758293, -0.89796615, 0.047343437, -0.43751052, 2.5047212, -0.106753826, 0.0325222)
[node name="Wall03" parent="." unique_id=412628089 instance=ExtResource("5_lquwl")]
transform = Transform3D(0.584169, -0.048437964, 0.8101854, -0.1719119, 0.9681845, 0.181838, -0.7932168, -0.24550463, 0.5572562, 2.4887834, -0.7894809, 2.6100364)
[node name="Wall04" parent="." unique_id=262297829 instance=ExtResource("5_lquwl")]
transform = Transform3D(-0.63450754, -0.2243154, 0.7396504, -0.12261418, 0.9740546, 0.19021934, -0.763129, 0.030003972, -0.64554924, -1.2827711, -0.22003722, 2.6100364)
[node name="Wall05" parent="." unique_id=2141110615 instance=ExtResource("5_lquwl")]
transform = Transform3D(-0.9373456, 0.2908417, 0.1918185, 0.3214552, 0.93427694, 0.1542501, -0.13434927, 0.20624672, -0.9692331, 0.36298275, -0.48010635, -3.1081657)
[node name="Wall06" parent="." unique_id=1483841468 instance=ExtResource("5_lquwl")]
transform = Transform3D(-0.990934, 0, 0.13434926, 0, 1, 0, -0.13434926, 0, -0.990934, 0.75976896, -0.70440745, 4.5405197)
[node name="Wall07" parent="." unique_id=879058509 instance=ExtResource("5_lquwl")]
transform = Transform3D(0.02368374, 0.13314083, -0.99081427, -0.16938388, 0.97729725, 0.12727568, 0.9852657, 0.16481358, 0.045697965, 3.8073082, -0.5026467, 0.84226894)
[node name="Wall08" parent="." unique_id=1345008916 instance=ExtResource("5_lquwl")]
transform = Transform3D(0.023540916, 0.2297096, -0.9729746, -0.2009241, 0.95447266, 0.22048022, 0.97932404, 0.19030367, 0.06862336, -3.4319887, -0.45930338, 0.84226894)