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:
Hugo Locurcio
2025-01-10 22:59:00 +01:00
parent 5557b10cfa
commit 4d49bbd1b8
817 changed files with 1898 additions and 1562 deletions

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=2 format=3 uid="uid://dnhyegott4sq3"]
[ext_resource path="res://marker/AxisMarker2D.tscn" type="PackedScene" id=1]
[ext_resource type="PackedScene" uid="uid://dgglwcbo10bxf" path="res://marker/AxisMarker2D.tscn" id="1"]
[node name="2D" type="Node2D"]
@@ -8,8 +8,8 @@
rotation = 2.98023e-08
scale = Vector2(100, 100)
[node name="AxisMarker" parent="Scale100" instance=ExtResource( 1 )]
[node name="AxisMarker" parent="Scale100" instance=ExtResource("1")]
[node name="AxisMarker2" parent="Scale100/AxisMarker" instance=ExtResource( 1 )]
[node name="AxisMarker2" parent="Scale100/AxisMarker" instance=ExtResource("1")]
position = Vector2(1.5, 1)
rotation = 0.349066

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://dh1yenn4jvxrf"]
[ext_resource type="PackedScene" path="res://marker/AxisMarker3D.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://bn1lmdxiowagu" path="res://marker/AxisMarker3D.tscn" id="1"]
[node name="3D" type="Node3D"]

View File

@@ -1,7 +0,0 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="Sky" id=1]
[resource]
background_mode = 2
background_sky = SubResource( 1 )

View File

@@ -0,0 +1 @@
uid://c422hmpso5c08

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=2 format=3 uid="uid://dgglwcbo10bxf"]
[ext_resource path="res://marker/AxisMarker2D.gd" type="Script" id=1]
[ext_resource type="Script" uid="uid://c422hmpso5c08" path="res://marker/AxisMarker2D.gd" id="1"]
[node name="AxisMarker" type="Node2D"]
script = ExtResource( 1 )
script = ExtResource("1")
[node name="Origin" type="Node" parent="."]

View File

@@ -0,0 +1 @@
uid://dm1m23b17d4a2

View File

@@ -1,24 +1,23 @@
[gd_scene load_steps=7 format=2]
[gd_scene load_steps=7 format=3 uid="uid://bn1lmdxiowagu"]
[ext_resource path="res://marker/AxisMarker3D.gd" type="Script" id=1]
[ext_resource type="Script" uid="uid://dm1m23b17d4a2" path="res://marker/AxisMarker3D.gd" id="1"]
[sub_resource type="BoxMesh" id=1]
size = Vector3(1, 1, 1)
[sub_resource type="BoxMesh" id="1"]
[sub_resource type="StandardMaterial3D" id=2]
[sub_resource type="StandardMaterial3D" id="2"]
albedo_color = Color(0, 1, 1, 1)
[sub_resource type="StandardMaterial3D" id=3]
[sub_resource type="StandardMaterial3D" id="3"]
albedo_color = Color(1, 0, 0, 1)
[sub_resource type="StandardMaterial3D" id=4]
[sub_resource type="StandardMaterial3D" id="4"]
albedo_color = Color(0, 1, 0, 1)
[sub_resource type="StandardMaterial3D" id=5]
[sub_resource type="StandardMaterial3D" id="5"]
albedo_color = Color(0, 0, 1, 1)
[node name="AxisMarker" type="Node3D"]
script = ExtResource( 1 )
script = ExtResource("1")
[node name="Origin" type="Node" parent="."]
@@ -26,25 +25,25 @@ script = ExtResource( 1 )
[node name="Cube" type="MeshInstance3D" parent="Origin/Holder"]
transform = Transform3D(0.0001, 0, 0, 0, 0.0001, 0, 0, 0, 0.0001, 0, 0, 0)
mesh = SubResource( 1 )
surface_material_override/0 = SubResource( 2 )
mesh = SubResource("1")
surface_material_override/0 = SubResource("2")
[node name="Center" type="MeshInstance3D" parent="."]
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0)
mesh = SubResource( 1 )
surface_material_override/0 = SubResource( 2 )
mesh = SubResource("1")
surface_material_override/0 = SubResource("2")
[node name="X" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0.55, 0, 0)
mesh = SubResource( 1 )
surface_material_override/0 = SubResource( 3 )
mesh = SubResource("1")
surface_material_override/0 = SubResource("3")
[node name="Y" type="MeshInstance3D" parent="."]
transform = Transform3D(0.1, 0, 0, 0, 1, 0, 0, 0, 0.1, 0, 0.55, 0)
mesh = SubResource( 1 )
surface_material_override/0 = SubResource( 4 )
mesh = SubResource("1")
surface_material_override/0 = SubResource("4")
[node name="Z" type="MeshInstance3D" parent="."]
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 1, 0, 0, 0.55)
mesh = SubResource( 1 )
surface_material_override/0 = SubResource( 5 )
mesh = SubResource("1")
surface_material_override/0 = SubResource("5")

View File

@@ -18,7 +18,7 @@ Do not 'run' this project. You are only meant to use it within the Godot editor.
For more information, see the Matrices and Transforms article."
config/tags=PackedStringArray("3d", "demo", "editor", "official")
run/main_scene="res://3D.tscn"
config/features=PackedStringArray("4.2")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]