Compare commits

...

3 Commits

Author SHA1 Message Date
e32dc050ac Disabled SDFGI, reverted to soft shadows
All checks were successful
linting & formatting / build (push) Successful in 14s
2025-09-30 11:15:02 -06:00
1a65d8e048 Fog & ground color matching 2025-09-30 11:01:34 -06:00
fb90309f6b Using volumetric fog for distant Mie scattering 2025-09-30 10:56:49 -06:00
3 changed files with 43 additions and 4 deletions

View File

@ -143,5 +143,8 @@ debug_4={
[rendering]
lights_and_shadows/directional_shadow/size=8192
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=0
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=0
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=3
anti_aliasing/quality/msaa_3d=3
anti_aliasing/quality/screen_space_aa=1
anti_aliasing/quality/use_debanding=true

View File

@ -3,6 +3,7 @@
[ext_resource type="Script" uid="uid://7frynyj4vspc" path="res://src/world/generation/worldgen_manager/worldgen_manager.gd" id="1_7xvag"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_7xvag"]
frequency = 0.1
[node name="WorldGenManager" type="Node"]
script = ExtResource("1_7xvag")

View File

@ -6,7 +6,9 @@
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_6fy3g"]
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
ground_bottom_color = Color(0.78, 0.78, 0.78, 1)
ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
ground_curve = 0.012311422
[sub_resource type="Sky" id="Sky_jte2u"]
sky_material = SubResource("ProceduralSkyMaterial_6fy3g")
@ -17,8 +19,17 @@ sky = SubResource("Sky_jte2u")
tonemap_mode = 2
ssr_enabled = true
ssao_enabled = true
sdfgi_enabled = true
ssil_enabled = true
sdfgi_min_cell_size = 5.734082
glow_enabled = true
fog_mode = 1
fog_density = 0.0447
fog_sky_affect = 0.045
volumetric_fog_enabled = true
volumetric_fog_density = 0.002
volumetric_fog_albedo = Color(0.7, 0.83000004, 1, 1)
volumetric_fog_length = 1024.0
volumetric_fog_sky_affect = 0.3
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jte2u"]
albedo_color = Color(0.16, 0.16, 0.16, 1)
@ -47,13 +58,16 @@ environment = SubResource("Environment_bsf3i")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
shadow_enabled = true
directional_shadow_max_distance = 20.0
directional_shadow_split_1 = 0.015
directional_shadow_split_2 = 0.105
directional_shadow_max_distance = 400.0
[node name="GeneratedWorld" parent="." instance=ExtResource("2_jte2u")]
[node name="Camera3D" type="Camera3D" parent="."]
physics_interpolation_mode = 1
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 121.5, 0)
far = 40000.0
[node name="PhantomCameraHost" type="Node" parent="Camera3D"]
process_priority = 300
@ -85,3 +99,24 @@ skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerSpawn/ReferenceCube/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_6fy3g")
[node name="BigTorus" type="CSGTorus3D" parent="."]
transform = Transform3D(-0.76604444, 0.64278764, 0, -0.5421216, -0.6460753, -0.53729963, -0.34536955, -0.4115954, 0.8433914, 10000, 2000, 0)
inner_radius = 4000.0
outer_radius = 8000.0
sides = 32
ring_sides = 16
[node name="FarTower" type="CSGCylinder3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5000, -4000)
radius = 2000.0
height = 10000.0
sides = 32
cone = true
[node name="NearTower" type="CSGCylinder3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -600, 500, -400)
radius = 200.0
height = 1000.0
sides = 32
cone = true