diff options
author | tpart <tpart120@proton.me> | 2024-06-24 15:14:14 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-06-24 15:14:19 +0200 |
commit | b549535ebe68fc67f1798601611512f2a5dc5454 (patch) | |
tree | 9df13070e66ca8684d3b81eff7b4584ed39ae276 | |
parent | e123565277c0dc2508b47c2587c22c9fe6e3d738 (diff) | |
download | hurrycurry-b549535ebe68fc67f1798601611512f2a5dc5454.tar hurrycurry-b549535ebe68fc67f1798601611512f2a5dc5454.tar.bz2 hurrycurry-b549535ebe68fc67f1798601611512f2a5dc5454.tar.zst |
Improve main menu lighting
-rw-r--r-- | client/menu/menu_background.tscn | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/client/menu/menu_background.tscn b/client/menu/menu_background.tscn index 5046ac99..f1c31d3f 100644 --- a/client/menu/menu_background.tscn +++ b/client/menu/menu_background.tscn @@ -1,15 +1,20 @@ -[gd_scene load_steps=10 format=3 uid="uid://l4vm07dtda4j"] +[gd_scene load_steps=11 format=3 uid="uid://l4vm07dtda4j"] [ext_resource type="Script" path="res://menu/menu_background.gd" id="1_ijsg0"] [ext_resource type="PackedScene" uid="uid://cs8gxa22c6joh" path="res://map/map.tscn" id="2_eg8f5"] [ext_resource type="Shader" path="res://menu/menu_background.gdshader" id="3_5mp8y"] +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_uw50b"] +sky_top_color = Color(0.55, 0.55, 0.55, 1) + [sub_resource type="Sky" id="Sky_utrtx"] +sky_material = SubResource("ProceduralSkyMaterial_uw50b") [sub_resource type="Environment" id="Environment_slkjl"] -background_mode = 1 +background_mode = 2 background_color = Color(0.258131, 0.300518, 0.691406, 1) sky = SubResource("Sky_utrtx") +ssao_enabled = true [sub_resource type="QuadMesh" id="QuadMesh_fvp2p"] size = Vector2(100, 100) @@ -43,9 +48,12 @@ script = ExtResource("1_ijsg0") transform = Transform3D(0.614606, 0.499662, -0.610408, -0.00282255, 0.775198, 0.631712, 0.78883, -0.386531, 0.477852, -9.13611, 4.90356, 1.22532) projection = 1 size = 8.0 +far = 100.0 [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] -transform = Transform3D(0.5, -0.866025, 2.37987e-16, -3.78552e-08, -2.18557e-08, 1, -0.866025, -0.5, -4.37114e-08, 0, 7, 0) +transform = Transform3D(0.290334, 0.904946, -0.311092, 0.336606, 0.207739, 0.918445, 0.895769, -0.371371, -0.244296, 0, 7, 0) +light_energy = 1.25 +shadow_enabled = true [node name="env" type="WorldEnvironment" parent="."] environment = SubResource("Environment_slkjl") |