diff --git a/world/environment/netfishing_environment.tres b/world/environment/netfishing_environment.tres new file mode 100644 index 0000000..dcaad2b --- /dev/null +++ b/world/environment/netfishing_environment.tres @@ -0,0 +1,22 @@ +[gd_resource type="Environment" load_steps=2 format=3] + +[ext_resource type="Sky" path="res://world/environment/netfishing_sky.tres" id="1_sky"] + +[resource] +background_mode = 2 +sky = ExtResource("1_sky") +background_energy_multiplier = 0.85 +ambient_light_source = 3 +ambient_light_sky_contribution = 1.0 +ambient_light_energy = 0.8 +reflected_light_source = 2 +fog_enabled = true +fog_light_color = Color(0.54902, 0.74902, 0.764706, 1) +fog_light_energy = 0.75 +fog_density = 0.0025 +fog_aerial_perspective = 0.2 +fog_sky_affect = 0.15 +adjustment_enabled = true +adjustment_brightness = 0.9 +adjustment_contrast = 0.89 +adjustment_saturation = 0.91 diff --git a/world/environment/netfishing_sky.tres b/world/environment/netfishing_sky.tres new file mode 100644 index 0000000..cb7d61b --- /dev/null +++ b/world/environment/netfishing_sky.tres @@ -0,0 +1,15 @@ +[gd_resource type="Sky" load_steps=2 format=3] + +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_netfishing"] +sky_top_color = Color(0.203922, 0.498039, 0.643137, 1) +sky_horizon_color = Color(0.662745, 0.843137, 0.847059, 1) +sky_curve = 0.15 +ground_bottom_color = Color(0.156863, 0.360784, 0.439216, 1) +ground_horizon_color = Color(0.54902, 0.74902, 0.764706, 1) +ground_curve = 0.08 +sun_angle_max = 18.0 +sun_curve = 0.22 +use_debanding = true + +[resource] +sky_material = SubResource("ProceduralSkyMaterial_netfishing") diff --git a/world/test_world.tscn b/world/test_world.tscn index ae4386a..4191f65 100644 --- a/world/test_world.tscn +++ b/world/test_world.tscn @@ -3,24 +3,7 @@ [ext_resource type="Script" path="res://world/test_world.gd" id="1_world"] [ext_resource type="PackedScene" path="res://world/regions/starter_island_region.tscn" id="2_island"] [ext_resource type="Script" path="res://world/below_world_failsafe.gd" id="3_water_trigger"] - -[sub_resource type="Environment" id="Environment"] -background_mode = 1 -background_color = Color(0.58, 0.72, 0.82, 1) -background_energy_multiplier = 0.85 -ambient_light_source = 3 -ambient_light_color = Color(0.78, 0.84, 0.92, 1) -ambient_light_energy = 0.95 -fog_enabled = true -fog_light_color = Color(0.62, 0.73, 0.8, 1) -fog_light_energy = 0.75 -fog_density = 0.0025 -fog_aerial_perspective = 0.2 -fog_sky_affect = 0.15 -adjustment_enabled = true -adjustment_brightness = 0.9 -adjustment_contrast = 0.89 -adjustment_saturation = 0.91 +[ext_resource type="Environment" path="res://world/environment/netfishing_environment.tres" id="4_environment"] [sub_resource type="BoxShape3D" id="NorthSouthBoundsShape"] size = Vector3(120, 14, 2) @@ -37,11 +20,11 @@ script = ExtResource("1_world") [node name="Environment" type="Node3D" parent="."] [node name="WorldEnvironment" type="WorldEnvironment" parent="Environment"] -environment = SubResource("Environment") +environment = ExtResource("4_environment") [node name="Sun" type="DirectionalLight3D" parent="Environment"] rotation_degrees = Vector3(-54, -32, 0) -light_color = Color(1, 0.94, 0.88, 1) +light_color = Color(1, 0.945098, 0.721569, 1) light_energy = 0.68 shadow_enabled = true shadow_opacity = 0.58