Skip to content

Commit

Permalink
Better environments
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmaceira committed Dec 8, 2024
1 parent d503d90 commit 87b3168
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
7 changes: 4 additions & 3 deletions godot/assets/environment/sky_high/sky_high.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ sky_material = SubResource("PanoramaSkyMaterial_kg6cs")

[sub_resource type="Environment" id="Environment_8xuge"]
background_mode = 2
background_energy_multiplier = 0.5
sky = SubResource("Sky_2yrrx")
ambient_light_color = Color(0.501961, 0.501961, 0.501961, 1)
ambient_light_sky_contribution = 0.2
ambient_light_color = Color(0.815686, 0.784314, 0.658824, 1)
ambient_light_sky_contribution = 0.4
tonemap_mode = 3
glow_levels/1 = 16.0
glow_levels/2 = 16.0
Expand All @@ -34,6 +35,6 @@ environment = SubResource("Environment_8xuge")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.5, 0.866025, 0, -0.866025, -0.5, 0, 0, 0)
light_color = Color(1, 0.988235, 0.768627, 1)
light_energy = 0.05
light_energy = 0.1
shadow_enabled = true
shadow_opacity = 0.7
25 changes: 11 additions & 14 deletions godot/assets/environment/sky_low/sky_low.tscn
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
[gd_scene load_steps=5 format=3 uid="uid://dsqq58ubnjwen"]
[gd_scene load_steps=6 format=3 uid="uid://dsqq58ubnjwen"]

[ext_resource type="Script" path="res://assets/environment/sky_base.gd" id="1_u1jk8"]
[ext_resource type="Texture2D" uid="uid://cbqxx4vdb574k" path="res://assets/environment/sky_medium/AllSkyFree_Sky_ClearBlueSky_Equirect.png" id="2_6d7t7"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_bfvnp"]
sky_top_color = Color(0.0117647, 0.258824, 0.545098, 1)
sky_horizon_color = Color(0.721569, 0.85098, 0.964706, 1)
ground_bottom_color = Color(0.278431, 0.611765, 0.901961, 1)
ground_horizon_color = Color(0.721569, 0.85098, 0.964706, 1)
sun_curve = 1e-05
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_klpcs"]
panorama = ExtResource("2_6d7t7")

[sub_resource type="Sky" id="Sky_0guyp"]
sky_material = SubResource("ProceduralSkyMaterial_bfvnp")
[sub_resource type="Sky" id="Sky_iop4b"]
sky_material = SubResource("PanoramaSkyMaterial_klpcs")

[sub_resource type="Environment" id="Environment_mvu0t"]
background_mode = 2
sky = SubResource("Sky_0guyp")
ambient_light_color = Color(0.501961, 0.501961, 0.501961, 1)
ambient_light_sky_contribution = 0.2
background_energy_multiplier = 0.5
sky = SubResource("Sky_iop4b")
ambient_light_color = Color(0.815686, 0.784314, 0.658824, 1)
ambient_light_sky_contribution = 0.4
tonemap_mode = 3
glow_levels/1 = 16.0
glow_levels/2 = 16.0
Expand All @@ -27,7 +25,6 @@ glow_levels/6 = 16.0
glow_levels/7 = 2.95
glow_blend_mode = 0
fog_density = 0.001
adjustment_enabled = true
adjustment_brightness = 1.2
adjustment_saturation = 1.2

Expand All @@ -40,4 +37,4 @@ environment = SubResource("Environment_mvu0t")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.177909, 0.984047, 0, -0.984047, -0.177909, 0, 0, 0)
light_color = Color(1, 0.988235, 0.768627, 1)
light_energy = 0.05
light_energy = 0.1
8 changes: 5 additions & 3 deletions godot/assets/environment/sky_medium/sky_medium.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ sky_material = SubResource("PanoramaSkyMaterial_klpcs")
background_mode = 2
background_energy_multiplier = 0.5
sky = SubResource("Sky_5ff4i")
ambient_light_color = Color(0.501961, 0.501961, 0.501961, 1)
ambient_light_sky_contribution = 0.2
ambient_light_color = Color(0.815686, 0.784314, 0.658824, 1)
ambient_light_sky_contribution = 0.4
tonemap_mode = 3
glow_levels/1 = 16.0
glow_levels/2 = 16.0
Expand All @@ -25,6 +25,8 @@ glow_levels/6 = 16.0
glow_levels/7 = 2.95
glow_blend_mode = 0
fog_sky_affect = 0.0
adjustment_brightness = 1.2
adjustment_saturation = 1.2

[node name="SkyMedium" type="Node"]
script = ExtResource("2_5v3h1")
Expand All @@ -35,7 +37,7 @@ environment = SubResource("Environment_mvu0t")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.5, 0.866025, 0, -0.866025, -0.5, 0, 0, 0)
light_color = Color(1, 0.988235, 0.768627, 1)
light_energy = 0.05
light_energy = 0.1
light_bake_mode = 0
shadow_enabled = true
shadow_opacity = 0.7

0 comments on commit 87b3168

Please sign in to comment.