diff --git a/project/assets/environment/props/metro/escalator.blend b/project/assets/environment/props/metro/escalator.blend index 2edddf42..07fe4688 100644 --- a/project/assets/environment/props/metro/escalator.blend +++ b/project/assets/environment/props/metro/escalator.blend @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:56494a8c1be92d08303c4af5f27764f5c9aadd0137517d2354faa8d9a70a9bf7 -size 285838 +oid sha256:875c9ff5756db99e022bba37db679d6306ff81904e275e940e5cc982c79a34e4 +size 285841 diff --git a/project/assets/environment/props/metro/escalator.blend1 b/project/assets/environment/props/metro/escalator.blend1 index 124a4e09..4803d524 100644 Binary files a/project/assets/environment/props/metro/escalator.blend1 and b/project/assets/environment/props/metro/escalator.blend1 differ diff --git a/project/assets/materials/bricks.tres b/project/assets/materials/bricks.tres new file mode 100644 index 00000000..4ef22573 --- /dev/null +++ b/project/assets/materials/bricks.tres @@ -0,0 +1,21 @@ +[gd_resource type="StandardMaterial3D" load_steps=5 format=2] +[ext_resource path="bricks_albedo.png" type="Texture" id=1] +[ext_resource path="bricks_normal.png" type="Texture" id=3] +[ext_resource path="bricks_heightmap.png" type="Texture" id=4] +[resource] +albedo_color = Color(1.0, 1.0, 1.0, 1.0) +albedo_texture = ExtResource( 1 ) +metallic = 0.0 +roughness = 1.0 +normal_enabled = true +normal_scale = 1.0 +normal_texture = ExtResource( 3 ) +heightmap_enabled = true +heightmap_scale = 12.5 +heightmap_deep_parallax = true +heightmap_min_layers = 8 +heightmap_max_layers = 32 +heightmap_texture = ExtResource( 4 ) + + + diff --git a/project/assets/materials/bricks_albedo.png b/project/assets/materials/bricks_albedo.png new file mode 100644 index 00000000..11bc7c02 --- /dev/null +++ b/project/assets/materials/bricks_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82d3e00c158d463a9007b319a25f3177814a1c9b24d43e9706fe6e9d67f25c04 +size 114148 diff --git a/project/assets/materials/bricks_albedo.png.import b/project/assets/materials/bricks_albedo.png.import new file mode 100644 index 00000000..ca487360 --- /dev/null +++ b/project/assets/materials/bricks_albedo.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bontvwkf78b1k" +path.s3tc="res://.godot/imported/bricks_albedo.png-c7248e445b9316e76f806998bddb31c2.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/materials/bricks_albedo.png" +dest_files=["res://.godot/imported/bricks_albedo.png-c7248e445b9316e76f806998bddb31c2.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/project/assets/materials/bricks_heightmap.png b/project/assets/materials/bricks_heightmap.png new file mode 100644 index 00000000..1aa870fb --- /dev/null +++ b/project/assets/materials/bricks_heightmap.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8888910f61036a82e5ab850bccad5fc7ad1652679fd9c10f71911d125a461124 +size 31931 diff --git a/project/assets/materials/bricks_heightmap.png.import b/project/assets/materials/bricks_heightmap.png.import new file mode 100644 index 00000000..88d629e0 --- /dev/null +++ b/project/assets/materials/bricks_heightmap.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bh136fa4wsi1c" +path.s3tc="res://.godot/imported/bricks_heightmap.png-9febc3506f96a0e5a716e76417bd9b84.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/materials/bricks_heightmap.png" +dest_files=["res://.godot/imported/bricks_heightmap.png-9febc3506f96a0e5a716e76417bd9b84.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=7 +roughness/src_normal="res://assets/materials/bricks_normal.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/project/assets/materials/bricks_normal.png b/project/assets/materials/bricks_normal.png new file mode 100644 index 00000000..df7f9012 --- /dev/null +++ b/project/assets/materials/bricks_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34e315b693eb9541632864a7d380f79505c3e96aec22b633771aa86ffa2996b5 +size 122453 diff --git a/project/assets/materials/bricks_normal.png.import b/project/assets/materials/bricks_normal.png.import new file mode 100644 index 00000000..28f249f4 --- /dev/null +++ b/project/assets/materials/bricks_normal.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://6qvnh0lk1o5y" +path.s3tc="res://.godot/imported/bricks_normal.png-93fcc9786dc169c29fa02e84e246dd85.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/materials/bricks_normal.png" +dest_files=["res://.godot/imported/bricks_normal.png-93fcc9786dc169c29fa02e84e246dd85.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=1 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=1 +roughness/src_normal="res://assets/materials/bricks_normal.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/project/assets/test_materials/materials/bricks.tres b/project/assets/test_materials/materials/bricks.tres new file mode 100644 index 00000000..9e84417e --- /dev/null +++ b/project/assets/test_materials/materials/bricks.tres @@ -0,0 +1,18 @@ +[gd_resource type="StandardMaterial3D" format=3 uid="uid://q6ixu2q8qaw1"] + +[ext_resource type="Texture2D" uid="uid://bontvwkf78b1k" path="res://assets/materials/bricks_albedo.png" id="1_xkofk"] +[ext_resource type="Texture2D" uid="uid://6qvnh0lk1o5y" path="res://assets/materials/bricks_normal.png" id="2_k2dy8"] + +[resource] +diffuse_mode = 3 +specular_mode = 2 +albedo_color = Color(0.4313402, 0.43134028, 0.43134007, 1) +albedo_texture = ExtResource("1_xkofk") +metallic_specular = 0.0 +roughness = 0.0 +normal_enabled = true +normal_scale = 0.0 +normal_texture = ExtResource("2_k2dy8") +uv1_triplanar = true +uv1_triplanar_sharpness = 150.0 +uv1_world_triplanar = true diff --git a/project/levels/core.tscn b/project/levels/core.tscn index e14fbbd3..7e070324 100644 --- a/project/levels/core.tscn +++ b/project/levels/core.tscn @@ -1,64 +1,51 @@ [gd_scene format=3 uid="uid://c8lrrlkhctu75"] -[ext_resource type="Material" uid="uid://diprpexdcxpja" path="res://assets/test_materials/materials/tiles.tres" id="1_pys30"] +[ext_resource type="Material" uid="uid://q6ixu2q8qaw1" path="res://assets/test_materials/materials/bricks.tres" id="1_64s6k"] +[ext_resource type="PackedScene" uid="uid://bc3sb3m1igspj" path="res://objects/effects/world_environment.tscn" id="1_x2n25"] [ext_resource type="Material" uid="uid://c6uf0ckexrkxk" path="res://assets/test_materials/materials/gray_concrete.tres" id="2_mrdo8"] -[ext_resource type="PackedScene" uid="uid://8t87iy0t0igo" path="res://objects/player.tscn" id="3_7ksv2"] [ext_resource type="PackedScene" uid="uid://b6vnp6u3i5u47" path="res://objects/effects/kaleidoscope_omni_projector.tscn" id="4_x2n25"] -[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_7ksv2"] -sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1) -ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1) - -[sub_resource type="Sky" id="Sky_x2n25"] -sky_material = SubResource("ProceduralSkyMaterial_7ksv2") - -[sub_resource type="Environment" id="Environment_64s6k"] -background_mode = 2 -sky = SubResource("Sky_x2n25") -tonemap_mode = 2 -glow_enabled = true - [node name="Core" type="Node3D" unique_id=1034984951] -[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=270720542] -environment = SubResource("Environment_64s6k") - -[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=2111401994] -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 +[node name="WorldEnvironment" parent="." unique_id=1373429783 instance=ExtResource("1_x2n25")] [node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1175188261] +layers = 5 use_collision = true -[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D" unique_id=630742958] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9033203, 1.881854, -0.17913818) -size = Vector3(6.9697266, 3.7343044, 8.668945) +[node name="CSGPolygon3D" type="CSGPolygon3D" parent="CSGCombiner3D" unique_id=436291935] +transform = Transform3D(1.3628728, 0.59651774, -2.6074618e-08, 0, -6.50295e-08, -1.4877015, -0.59651774, 1.3628728, -5.9573065e-08, -0.25980425, -0.775486, 5.037715) +polygon = PackedVector2Array(-5, -5, -7, 0, -5, 5, 0, 7, 5, 5, 7, 0, 5, -5, 0, -7) +depth = 5.14 +material = ExtResource("1_64s6k") + +[node name="CSGPolygon3D2" type="CSGPolygon3D" parent="CSGCombiner3D" unique_id=1425827428] +transform = Transform3D(3.637337, 1.692444, -2.6074616e-08, 0, -1.8450211e-07, -1.4877014, -1.5920311, 3.866752, -5.957306e-08, -0.25980425, -1.7305188, 5.037715) +polygon = PackedVector2Array(-5, -5, -7, 0, -5, 5, 0, 7, 5, 5, 7, 0, 5.2579865, -4.8931313, 0, -7) +material = ExtResource("2_mrdo8") [node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1638629808] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.88183594, 1.7865148, -0.15673828) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.88183594, 1.7625804, -0.15673828) operation = 2 size = Vector3(6.7851563, 3.5671387, 8.388672) -material = ExtResource("1_pys30") +material = ExtResource("2_mrdo8") [node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1851629063] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5299485, 1.1862035, -4.3951926) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5299485, 1.1622691, -4.3951926) operation = 2 size = Vector3(1.1953125, 2.366516, 0.7294922) -material = ExtResource("1_pys30") +material = ExtResource("2_mrdo8") [node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D" unique_id=448865471] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.89553833, -0.015258789, -0.16778564) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.89553833, -0.039193153, -0.16778564) size = Vector3(6.9075317, 0.14282227, 8.670288) material = ExtResource("2_mrdo8") -[node name="Player" parent="." unique_id=591139793 instance=ExtResource("3_7ksv2")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0569975, 0) - [node name="OmniLight3D" parent="." unique_id=388804586 instance=ExtResource("4_x2n25")] -transform = Transform3D(0.6410673, 0.43229145, 0.6341584, -0.76748466, 0.36108595, 0.52970207, 0, -0.8262815, 0.56325746, -0.673982, 2.3481667, 0) -light_energy = 0.331 +transform = Transform3D(0.6410673, 0.43229145, 0.6341584, -0.76748466, 0.36108595, 0.52970207, 0, -0.8262815, 0.56325746, -0.673982, 3.1603365, 0) +light_energy = 4.021 light_cull_mask = 4294967295 shadow_blur = 10.0 -shadow_caster_mask = 4294967295 +shadow_caster_mask = 4294967292 omni_range = 10.967 omni_attenuation = 0.385 diff --git a/project/levels/station.tscn b/project/levels/station.tscn index 001b8e07..49cb0e8a 100644 --- a/project/levels/station.tscn +++ b/project/levels/station.tscn @@ -1,5 +1,6 @@ [gd_scene format=3 uid="uid://bfp1mwjt0cvo8"] +[ext_resource type="PackedScene" uid="uid://bc3sb3m1igspj" path="res://objects/effects/world_environment.tscn" id="1_eb8x3"] [ext_resource type="Material" uid="uid://diprpexdcxpja" path="res://assets/test_materials/materials/tiles.tres" id="1_skip2"] [ext_resource type="Material" uid="uid://c6uf0ckexrkxk" path="res://assets/test_materials/materials/gray_concrete.tres" id="2_mo284"] [ext_resource type="PackedScene" uid="uid://8t87iy0t0igo" path="res://objects/player.tscn" id="3_mo284"] @@ -7,42 +8,9 @@ [ext_resource type="PackedScene" uid="uid://b6vnp6u3i5u47" path="res://objects/effects/kaleidoscope_omni_projector.tscn" id="5_s6lbc"] [ext_resource type="PackedScene" uid="uid://bl7tlfjeo0bq4" path="res://assets/environment/props/metro/escalator.blend" id="6_b5kel"] -[sub_resource type="Gradient" id="Gradient_ue8rc"] -colors = PackedColorArray(0.0224, 0.03970667, 0.04, 1, 1, 0.912, 0.89, 1) - -[sub_resource type="GradientTexture1D" id="GradientTexture1D_s6lbc"] -gradient = SubResource("Gradient_ue8rc") - -[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_mo284"] -sky_top_color = Color(0.0932704, 0.113856174, 0.18609053, 1) -sky_horizon_color = Color(0, 0, 0, 1) -sky_curve = 0.0022626824 -ground_bottom_color = Color(0.106522344, 0.12159938, 0.1487411, 1) -ground_horizon_color = Color(0, 0, 0, 1) -ground_curve = 0.08415828 - -[sub_resource type="Sky" id="Sky_ue8rc"] -sky_material = SubResource("ProceduralSkyMaterial_mo284") - -[sub_resource type="Environment" id="Environment_s6lbc"] -background_mode = 2 -background_energy_multiplier = 1.11 -sky = SubResource("Sky_ue8rc") -ambient_light_source = 2 -ambient_light_color = Color(0.5219292, 0.52192914, 0.5219292, 1) -tonemap_mode = 2 -ssao_enabled = true -ssao_horizon = 0.53 -glow_enabled = true -adjustment_enabled = true -adjustment_brightness = 1.16 -adjustment_contrast = 1.25 -adjustment_color_correction = SubResource("GradientTexture1D_s6lbc") - [node name="Station" type="Node3D" unique_id=1977494771] -[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=2052765915] -environment = SubResource("Environment_s6lbc") +[node name="WorldEnvironment" parent="." unique_id=1373429783 instance=ExtResource("1_eb8x3")] [node name="Player" parent="." unique_id=591139793 instance=ExtResource("3_mo284")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.815383, 1.5223571, -2.4564848) @@ -97,8 +65,8 @@ size = Vector3(10.314098, 8.64357, 0.68066025) material = ExtResource("2_mo284") [node name="CSGBox3D8" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1955739710] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.84921265, 3.098699, 8.826321) -size = Vector3(12.751099, 8.899079, 11.584106) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.84921265, 3.3360872, 8.826321) +size = Vector3(12.751099, 9.373856, 11.584106) material = ExtResource("2_mo284") [node name="CSGBox3D10" type="CSGBox3D" parent="CSGCombiner3D" unique_id=702769195] @@ -186,8 +154,8 @@ size = Vector3(8.269325, 0.65649414, 24.244385) material = ExtResource("2_mo284") [node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1770911707] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.4146814, 3.770578, -1.4636297) -size = Vector3(4.6047363, 7.89028, 11.224808) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.4146814, 3.9278297, -1.4636297) +size = Vector3(4.6047363, 8.204783, 11.224808) material = ExtResource("2_mo284") [node name="CSGBox3D16" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1307658919] @@ -226,18 +194,18 @@ size = Vector3(0.91259766, 9.231411, 24.244385) material = ExtResource("2_mo284") [node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D" unique_id=343699581] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.1704865, 7.465601, -12.692641) -size = Vector3(11.1875305, 0.001, 11.878021) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.1704865, 7.7379866, -12.692641) +size = Vector3(11.1875305, 0.6371238, 11.878021) material = ExtResource("2_mo284") [node name="CSGBox3D17" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1466316467] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.44189453, 5.717958, -1.464263) -size = Vector3(13.550171, 3.7309504, 11.226074) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.44189453, 5.9490385, -1.464263) +size = Vector3(13.550171, 4.193112, 11.226074) material = ExtResource("2_mo284") [node name="CSGBox3D20" type="CSGBox3D" parent="CSGCombiner3D" unique_id=150537856] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5048828, 5.583949, -12.383407) -size = Vector3(7.382202, 3.462933, 13) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5048828, 5.9466705, -12.383407) +size = Vector3(7.382202, 4.1883755, 13) material = ExtResource("2_mo284") [node name="FloorB1" type="CSGBox3D" parent="CSGCombiner3D" unique_id=354823178] @@ -350,10 +318,10 @@ light_cull_mask = 4294967292 omni_range = 2.641 [node name="OmniLight3D2" parent="." unique_id=779918029 instance=ExtResource("5_s6lbc")] -transform = Transform3D(0.7092167, -0.47455096, -0.521357, 0.70499057, 0.47739568, 0.5244823, 0, -0.73952335, 0.6731309, -2.6499035, 4.900822, -17.749857) +transform = Transform3D(0.7092167, -0.47455096, -0.521357, 0.70499057, 0.47739568, 0.5244823, 0, -0.73952335, 0.6731309, -2.6499035, 4.555306, -17.98049) light_energy = 2.086 light_cull_mask = 4294967292 -omni_range = 2.641 +omni_range = 2.2924402 [node name="OmniLight3D3" parent="." unique_id=118388089 instance=ExtResource("5_s6lbc")] transform = Transform3D(0.29277182, -0.7737612, 0.5617637, -0.058540225, 0.5719, 0.81823194, -0.95438874, -0.27244103, 0.12214008, -2.0092142, 6.301402, -35.726597) @@ -362,13 +330,19 @@ light_cull_mask = 4294967292 omni_range = 1.4074863 [node name="OmniLight3D4" parent="." unique_id=1629760581 instance=ExtResource("5_s6lbc")] -transform = Transform3D(0.8244043, 0.06913145, 0.56176364, -0.56600136, 0.10069281, 0.81823194, 0, -0.99251294, 0.12214007, 15.127914, 8.425544, -23.167887) +transform = Transform3D(0.8244043, 0.06913145, 0.56176364, -0.56600136, 0.10069281, 0.81823194, 0, -0.99251294, 0.12214007, 15.127914, 8.425544, -25.203468) +light_energy = 2.086 +light_cull_mask = 4294967292 +omni_range = 2.641 + +[node name="OmniLight3D7" parent="." unique_id=1764956841 instance=ExtResource("5_s6lbc")] +transform = Transform3D(0.09317468, -0.6645957, 0.7413711, -0.3887, -0.709803, -0.5874454, 0.91664106, -0.23343593, -0.32446402, 13.479575, 8.425544, -28.246061) light_energy = 2.086 light_cull_mask = 4294967292 omni_range = 2.641 [node name="OmniLight3D5" parent="." unique_id=1528397531 instance=ExtResource("5_s6lbc")] -transform = Transform3D(0.8244043, 0.06913145, 0.56176364, -0.56600136, 0.10069281, 0.81823194, 0, -0.99251294, 0.12214007, 15.839307, 10.652011, -21.219952) +transform = Transform3D(0.8244043, 0.06913145, 0.56176364, -0.56600136, 0.10069281, 0.81823194, 0, -0.99251294, 0.12214007, 15.839307, 10.652011, -22.217182) light_energy = 2.086 light_cull_mask = 4294967292 omni_range = 2.641 diff --git a/project/levels/world.tscn b/project/levels/world.tscn new file mode 100644 index 00000000..445f7e21 --- /dev/null +++ b/project/levels/world.tscn @@ -0,0 +1,19 @@ +[gd_scene format=3 uid="uid://bhr2cues2mtum"] + +[ext_resource type="PackedScene" uid="uid://bfp1mwjt0cvo8" path="res://levels/station.tscn" id="1_2mgkc"] +[ext_resource type="PackedScene" uid="uid://bc3sb3m1igspj" path="res://objects/effects/world_environment.tscn" id="1_pmfem"] +[ext_resource type="PackedScene" uid="uid://c8lrrlkhctu75" path="res://levels/core.tscn" id="2_tsgde"] + +[node name="World" type="Node3D" unique_id=1490306849] + +[node name="WorldEnvironment" parent="." unique_id=1373429783 instance=ExtResource("1_pmfem")] + +[node name="Core" parent="." unique_id=1034984951 instance=ExtResource("2_tsgde")] +transform = Transform3D(2.9802322e-08, 0, -1, 0, 1, 0, 1, 0, 2.9802322e-08, 19.583687, 8.317284, 12.463429) + +[node name="Station" parent="." unique_id=1977494771 instance=ExtResource("1_2mgkc")] + +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=103904385] +transform = Transform3D(0.7631884, -0.5412828, -0.3529256, -4.7255266e-10, -0.5461754, 0.8376707, -0.646176, -0.63930047, -0.4168349, 0, 0, 0) +light_color = Color(0.63100356, 0.6532651, 0.7186838, 1) +shadow_enabled = true diff --git a/project/objects/effects/world_environment.tscn b/project/objects/effects/world_environment.tscn new file mode 100644 index 00000000..bfd4e9e3 --- /dev/null +++ b/project/objects/effects/world_environment.tscn @@ -0,0 +1,36 @@ +[gd_scene format=3 uid="uid://bc3sb3m1igspj"] + +[sub_resource type="Gradient" id="Gradient_2mgkc"] +colors = PackedColorArray(0.0224, 0.03970667, 0.04, 1, 1, 0.912, 0.89, 1) + +[sub_resource type="GradientTexture1D" id="GradientTexture1D_s6lbc"] +gradient = SubResource("Gradient_2mgkc") + +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_tsgde"] +sky_top_color = Color(0.0932704, 0.113856174, 0.18609053, 1) +sky_horizon_color = Color(0, 0, 0, 1) +sky_curve = 0.0022626824 +ground_bottom_color = Color(0.106522344, 0.12159938, 0.1487411, 1) +ground_horizon_color = Color(0, 0, 0, 1) +ground_curve = 0.08415828 + +[sub_resource type="Sky" id="Sky_ue8rc"] +sky_material = SubResource("ProceduralSkyMaterial_tsgde") + +[sub_resource type="Environment" id="Environment_pmfem"] +background_mode = 2 +background_energy_multiplier = 1.11 +sky = SubResource("Sky_ue8rc") +ambient_light_source = 2 +ambient_light_color = Color(0.5219292, 0.52192914, 0.5219292, 1) +tonemap_mode = 2 +ssao_enabled = true +ssao_horizon = 0.53 +glow_enabled = true +adjustment_enabled = true +adjustment_brightness = 1.16 +adjustment_contrast = 1.25 +adjustment_color_correction = SubResource("GradientTexture1D_s6lbc") + +[node name="WorldEnvironment" type="WorldEnvironment" unique_id=1373429783] +environment = SubResource("Environment_pmfem") diff --git a/project/project.godot b/project/project.godot index d8a025a5..92c8c642 100644 --- a/project/project.godot +++ b/project/project.godot @@ -15,7 +15,7 @@ compatibility/default_parent_skeleton_in_mesh_instance_3d=true [application] config/name="viscosity" -run/main_scene="uid://bfp1mwjt0cvo8" +run/main_scene="uid://bhr2cues2mtum" config/features=PackedStringArray("4.7", "Forward Plus") config/icon="res://icon.svg"