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).
This commit is contained in:
Hugo Locurcio
2026-02-10 23:53:57 +01:00
parent 1157ad27cd
commit b4eff8de9d
656 changed files with 9259 additions and 9234 deletions

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://b14cpb6efpp1"]
[gd_scene format=3 uid="uid://b14cpb6efpp1"]
[ext_resource type="Script" uid="uid://cyk2blx2w402j" path="res://addons/main_screen/print_hello.gd" id="1"]
[node name="MainPanel" type="CenterContainer"]
[node name="MainPanel" type="CenterContainer" unique_id=1312386713]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@@ -10,7 +10,7 @@ grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3
[node name="PrintHello" type="Button" parent="."]
[node name="PrintHello" type="Button" parent="." unique_id=1328725143]
layout_mode = 2
text = "Print Hello
(check Output bottom panel)"

View File

@@ -1,14 +1,14 @@
[gd_scene load_steps=2 format=3 uid="uid://bo31028pgti5e"]
[gd_scene format=3 uid="uid://bo31028pgti5e"]
[ext_resource type="Script" uid="uid://dy86u5ti4fb3m" path="res://addons/material_creator/editor/material_creator.gd" id="1"]
[node name="Material Creator" type="Panel"]
[node name="Material Creator" type="Panel" unique_id=1310661761]
custom_minimum_size = Vector2(220, 530)
offset_right = 220.0
offset_bottom = 491.0
script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=2070846718]
custom_minimum_size = Vector2(200, 510)
layout_mode = 1
anchors_preset = -1
@@ -21,64 +21,64 @@ offset_bottom = -10.0
grow_horizontal = 2
grow_vertical = 2
[node name="AlbedoLabel" type="Label" parent="VBoxContainer"]
[node name="AlbedoLabel" type="Label" parent="VBoxContainer" unique_id=289604357]
custom_minimum_size = Vector2(16, 16)
layout_mode = 2
text = "Albedo Color:"
[node name="AlbedoColorPicker" type="ColorPickerButton" parent="VBoxContainer"]
[node name="AlbedoColorPicker" type="ColorPickerButton" parent="VBoxContainer" unique_id=2087625705]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
color = Color(1, 1, 1, 1)
[node name="MetallicLabel" type="Label" parent="VBoxContainer"]
[node name="MetallicLabel" type="Label" parent="VBoxContainer" unique_id=1235692577]
custom_minimum_size = Vector2(16, 16)
layout_mode = 2
text = "Metallic Strength:"
[node name="MetallicSlider" type="HSlider" parent="VBoxContainer"]
[node name="MetallicSlider" type="HSlider" parent="VBoxContainer" unique_id=1568625687]
custom_minimum_size = Vector2(16, 16)
layout_mode = 2
max_value = 1.0
step = 0.05
[node name="RoughnessLabel" type="Label" parent="VBoxContainer"]
[node name="RoughnessLabel" type="Label" parent="VBoxContainer" unique_id=66194910]
custom_minimum_size = Vector2(16, 16)
layout_mode = 2
text = "Roughness Strength:"
[node name="RoughnessSlider" type="HSlider" parent="VBoxContainer"]
[node name="RoughnessSlider" type="HSlider" parent="VBoxContainer" unique_id=1263644584]
custom_minimum_size = Vector2(16, 16)
layout_mode = 2
max_value = 1.0
step = 0.05
ticks_on_borders = true
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
[node name="HSeparator" type="HSeparator" parent="VBoxContainer" unique_id=1034467562]
custom_minimum_size = Vector2(8, 8)
layout_mode = 2
[node name="ApplyButton" type="Button" parent="VBoxContainer"]
[node name="ApplyButton" type="Button" parent="VBoxContainer" unique_id=998005086]
custom_minimum_size = Vector2(0, 35)
layout_mode = 2
tooltip_text = "Applies this material to all selected MeshInstance3D nodes."
text = "Apply Material"
[node name="SaveButton" type="Button" parent="VBoxContainer"]
[node name="SaveButton" type="Button" parent="VBoxContainer" unique_id=2002527878]
custom_minimum_size = Vector2(0, 35)
layout_mode = 2
tooltip_text = "Save a `.silly_mat_loadable` file using a custom ResourceFormatSaver or save a `.tres` using Godot's built-in ResourceFormatSaverText."
text = "Save Material
(ResourceFormatSaver)"
[node name="ExportButton" type="Button" parent="VBoxContainer"]
[node name="ExportButton" type="Button" parent="VBoxContainer" unique_id=1475431426]
custom_minimum_size = Vector2(0, 35)
layout_mode = 2
tooltip_text = "Export a `.silly_mat_*` file using the functions on SillyMaterialResource. This works for files outside of the `res://` folder, and can be done at runtime."
text = "Export Material
(directly at runtime)"
[node name="LoadButtonLoader" type="Button" parent="VBoxContainer"]
[node name="LoadButtonLoader" type="Button" parent="VBoxContainer" unique_id=553185214]
custom_minimum_size = Vector2(0, 60)
layout_mode = 2
tooltip_text = "Load a `.silly_mat_loadable` using a custom ResourceFormatLoader or load a `.tres` using Godot's built-in ResourceFormatLoaderText."
@@ -86,7 +86,7 @@ text = "Load Material
(ResourceFormatLoader)"
clip_text = true
[node name="LoadButtonImporter" type="Button" parent="VBoxContainer"]
[node name="LoadButtonImporter" type="Button" parent="VBoxContainer" unique_id=1751325287]
custom_minimum_size = Vector2(0, 60)
layout_mode = 2
tooltip_text = "Load a `.silly_mat_importable` that was imported by an EditorImportPlugin. The loaded data actually comes from the corresponding imported file saved as `res://.godot/imported/something.silly_mat_importable-hash.res`."
@@ -94,7 +94,7 @@ text = "Load Imported Material
(EditorImportPlugin)"
clip_text = true
[node name="ImportButtonDirectly" type="Button" parent="VBoxContainer"]
[node name="ImportButtonDirectly" type="Button" parent="VBoxContainer" unique_id=1333024633]
custom_minimum_size = Vector2(0, 60)
layout_mode = 2
tooltip_text = "Import a `.silly_mat_*` directly from the source file, performing an import on request instead of loading data the editor imported earlier. This ignores any editor import settings, works for files outside of the `res://` folder, and can be done at runtime."
@@ -102,18 +102,18 @@ text = "Import Material
(directly at runtime)"
clip_text = true
[node name="SaveMaterialDialog" type="FileDialog" parent="."]
[node name="SaveMaterialDialog" type="FileDialog" parent="." unique_id=1873936963]
size = Vector2i(1000, 500)
min_size = Vector2i(1000, 500)
filters = PackedStringArray("*.silly_mat_loadable ; Loadable Silly Material (editable)", "*.tres ; Godot Resource (resource)")
[node name="ExportMaterialDialog" type="FileDialog" parent="."]
[node name="ExportMaterialDialog" type="FileDialog" parent="." unique_id=1465899290]
size = Vector2i(1000, 500)
min_size = Vector2i(1000, 500)
access = 2
filters = PackedStringArray("*.silly_mat_importable ; Importable Silly Material (customizable)", "*.silly_mat_loadable ; Loadable Silly Material (editable)")
[node name="LoadMaterialLoaderDialog" type="FileDialog" parent="."]
[node name="LoadMaterialLoaderDialog" type="FileDialog" parent="." unique_id=793551837]
title = "Open a File"
size = Vector2i(1000, 500)
min_size = Vector2i(1000, 500)
@@ -121,7 +121,7 @@ ok_button_text = "Open"
file_mode = 0
filters = PackedStringArray("*.silly_mat_loadable ; Loadable Silly Material (editable)", "*.tres ; Godot Resource (resource)")
[node name="LoadMaterialImporterDialog" type="FileDialog" parent="."]
[node name="LoadMaterialImporterDialog" type="FileDialog" parent="." unique_id=99317519]
title = "Open a File"
size = Vector2i(1000, 500)
min_size = Vector2i(1000, 500)
@@ -129,7 +129,7 @@ ok_button_text = "Open"
file_mode = 0
filters = PackedStringArray("*.silly_mat_importable ; Importable Silly Material (customizable)")
[node name="ImportMaterialDirectlyDialog" type="FileDialog" parent="."]
[node name="ImportMaterialDirectlyDialog" type="FileDialog" parent="." unique_id=1498570105]
title = "Open a File"
size = Vector2i(1000, 500)
min_size = Vector2i(1000, 500)

View File

@@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="SillyMaterialResource" load_steps=2 format=3 uid="uid://d1o64hhg6sxuk"]
[gd_resource type="Resource" script_class="SillyMaterialResource" format=3 uid="uid://d1o64hhg6sxuk"]
[ext_resource type="Script" uid="uid://bjnq25fa3ptjc" path="res://addons/material_creator/silly_material_resource.gd" id="1_l7fpc"]

View File

@@ -22,7 +22,7 @@ This project contains 4 plugins:
* The main screen plugin is a minimal example of how to create a plugin with a main screen."
config/tags=PackedStringArray("demo", "editor", "official")
run/main_scene="res://test_scene.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
config/icon="res://icon.webp"
[debug]

View File

@@ -1,20 +1,20 @@
[gd_scene load_steps=4 format=3 uid="uid://b032ndepju3c3"]
[gd_scene format=3 uid="uid://b032ndepju3c3"]
[ext_resource type="Script" uid="uid://bsjl3kijvqbnj" path="res://addons/main_screen/handled_by_main_screen.gd" id="1"]
[ext_resource type="Script" uid="uid://dsns1qb3ocb00" path="res://addons/custom_node/heart.gd" id="2"]
[sub_resource type="BoxMesh" id="1"]
[node name="TestScene" type="Node"]
[node name="TestScene" type="Node" unique_id=251753296]
[node name="Heart" type="Node2D" parent="."]
[node name="Heart" type="Node2D" parent="." unique_id=1268816800]
script = ExtResource("2")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1632077868]
mesh = SubResource("1")
[node name="HandledByMainScreen" type="Node" parent="."]
[node name="HandledByMainScreen" type="Node" parent="." unique_id=1606418395]
script = ExtResource("1")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1658675508]
transform = Transform3D(0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, -0.75, 0.433013, 0, 0, 0)