diff options
author | tpart <tpart120@proton.me> | 2024-07-27 14:02:21 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-07-27 14:02:21 +0200 |
commit | 9e677dcc116aa06debd3e9188830f15f79d2bdbe (patch) | |
tree | 6be5b0123f2b93a4fffb01a72f3bd5c09d550aaa /client/map/world_environment.tscn | |
parent | fcaa22b8e6a8636c19fa0420d6f88528ed7971c8 (diff) | |
download | hurrycurry-9e677dcc116aa06debd3e9188830f15f79d2bdbe.tar hurrycurry-9e677dcc116aa06debd3e9188830f15f79d2bdbe.tar.bz2 hurrycurry-9e677dcc116aa06debd3e9188830f15f79d2bdbe.tar.zst |
Combine world environment code into single scene
Diffstat (limited to 'client/map/world_environment.tscn')
-rw-r--r-- | client/map/world_environment.tscn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/map/world_environment.tscn b/client/map/world_environment.tscn new file mode 100644 index 00000000..4ca96f37 --- /dev/null +++ b/client/map/world_environment.tscn @@ -0,0 +1,21 @@ +[gd_scene load_steps=5 format=3 uid="uid://cb4ic3ssk4r8r"] + +[ext_resource type="Script" path="res://map/auto_setup/environment_setup.gd" id="1_iatcp"] + +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_py7px"] +ground_bottom_color = Color(0.0826605, 0.065772, 0.0461518, 1) + +[sub_resource type="Sky" id="Sky_ultpf"] +sky_material = SubResource("ProceduralSkyMaterial_py7px") + +[sub_resource type="Environment" id="Environment_m4dli"] +background_mode = 2 +sky = SubResource("Sky_ultpf") +tonemap_mode = 2 +ssao_enabled = true +sdfgi_use_occlusion = true +sdfgi_energy = 2.0 + +[node name="WorldEnvironment" type="WorldEnvironment"] +environment = SubResource("Environment_m4dli") +script = ExtResource("1_iatcp") |