mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-05 23:40:07 +01:00
Update demos for Godot 4.4
- Resave all files with Godot 4.4 to make use of script/shader UIDs. - Use AgX tonemapping in all demos that used a tonemapper other than Linear.
This commit is contained in:
1
3d/occlusion_culling_mesh_lod/camera.gd.uid
Normal file
1
3d/occlusion_culling_mesh_lod/camera.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bvm23pul5m156
|
||||
1
3d/occlusion_culling_mesh_lod/door.gd.uid
Normal file
1
3d/occlusion_culling_mesh_lod/door.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dsl7ogru2qvj6
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://b72b3llm3ks25"]
|
||||
|
||||
[ext_resource type="Script" path="res://door.gd" id="1_cd56o"]
|
||||
[ext_resource type="Script" uid="uid://dsl7ogru2qvj6" path="res://door.gd" id="1_cd56o"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_uwx0y"]
|
||||
size = Vector3(0.05, 3.25, 2.5)
|
||||
@@ -45,8 +45,8 @@ tracks/0/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5gp0p"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_4cjd4"),
|
||||
"open": SubResource("Animation_6r4px")
|
||||
&"RESET": SubResource("Animation_4cjd4"),
|
||||
&"open": SubResource("Animation_6r4px")
|
||||
}
|
||||
|
||||
[node name="Door" type="Node3D"]
|
||||
|
||||
1
3d/occlusion_culling_mesh_lod/node_3d.gd.uid
Normal file
1
3d/occlusion_culling_mesh_lod/node_3d.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bpnpab3ttyv8n
|
||||
@@ -1,8 +1,8 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://dp872nvjdbsc2"]
|
||||
|
||||
[ext_resource type="ArrayOccluder3D" uid="uid://cop123efet6j2" path="res://node_3d.occ" id="1_clbmh"]
|
||||
[ext_resource type="Script" path="res://node_3d.gd" id="1_x3hdm"]
|
||||
[ext_resource type="Script" path="res://camera.gd" id="2_6krsy"]
|
||||
[ext_resource type="Script" uid="uid://bpnpab3ttyv8n" path="res://node_3d.gd" id="1_x3hdm"]
|
||||
[ext_resource type="Script" uid="uid://bvm23pul5m156" path="res://camera.gd" id="2_6krsy"]
|
||||
[ext_resource type="PackedScene" uid="uid://ck4wa4vxhhk1v" path="res://room.glb" id="2_fu476"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72b3llm3ks25" path="res://door.tscn" id="5_cprsk"]
|
||||
|
||||
@@ -15,8 +15,7 @@ sky_material = SubResource("PhysicalSkyMaterial_gmnym")
|
||||
[sub_resource type="Environment" id="Environment_inqbi"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_85e0t")
|
||||
tonemap_mode = 3
|
||||
tonemap_white = 6.0
|
||||
tonemap_mode = 4
|
||||
fog_enabled = true
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bunpn"]
|
||||
|
||||
@@ -14,7 +14,7 @@ config/name="Occlusion Culling and Mesh LOD"
|
||||
config/description="This demo showcases the use of occlusion culling and mesh level of detail in a 3D scene."
|
||||
config/tags=PackedStringArray("3d", "demo", "official", "performance", "rendering")
|
||||
run/main_scene="res://node_3d.tscn"
|
||||
config/features=PackedStringArray("4.3")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
|
||||
@@ -18,6 +18,7 @@ nodes/root_name="Scene Root"
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
|
||||
Reference in New Issue
Block a user