Добавил тени и деревья, улучшил фог

This commit is contained in:
2026-10-14 14:55:21 +05:00
parent 747d5a6239
commit c374786a3b
5 changed files with 129 additions and 10 deletions
Binary file not shown.
@@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://mdxwd8w6hbax"
path.bptc="res://.godot/imported/overcast_soil_puresky_2k.hdr-feb31b3210223258f07268828ee4e20f.bptc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://World/Sky/overcast_soil_puresky_2k.hdr"
dest_files=["res://.godot/imported/overcast_soil_puresky_2k.hdr-feb31b3210223258f07268828ee4e20f.bptc.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
+43 -10
View File
@@ -1,16 +1,17 @@
[gd_scene format=3 uid="uid://6vc0m7mc73f1"]
[ext_resource type="Texture2D" uid="uid://bhoaea7w0r382" path="res://World/Sky/sunflowers_puresky_2k.hdr" id="2_0xm2m"]
[ext_resource type="Texture2D" uid="uid://mdxwd8w6hbax" path="res://World/Sky/overcast_soil_puresky_2k.hdr" id="2_5vw27"]
[ext_resource type="PackedScene" uid="uid://c3efk6k8xnf57" path="res://Player/Player.tscn" id="2_h2yge"]
[ext_resource type="PackedScene" uid="uid://cvrj2ay2fq4x8" path="res://World/Floor/main_floor/Floor.glb" id="3_h2yge"]
[ext_resource type="PackedScene" uid="uid://d4evo4b0wv23h" path="res://models/building_02.glb" id="4_7mycd"]
[ext_resource type="PackedScene" uid="uid://db05x4f444mr2" path="res://models/tower_01/Tower_01.glb" id="5_272bh"]
[ext_resource type="PackedScene" uid="uid://dr2udwp3pu8g1" path="res://models/house_02/house_02-col.glb" id="6_5vw27"]
[ext_resource type="AudioStream" uid="uid://ddsynauqeoppw" path="res://World/tron_01.ogg" id="7_272bh"]
[ext_resource type="PackedScene" uid="uid://cqfe5g5ospxic" path="res://models/Tree_01/Tree_01.glb" id="8_5vw27"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_6opy2"]
panorama = ExtResource("2_0xm2m")
energy_multiplier = 1.2
panorama = ExtResource("2_5vw27")
energy_multiplier = 0.4
[sub_resource type="Sky" id="Sky_5dpsc"]
sky_material = SubResource("PanoramaSkyMaterial_6opy2")
@@ -18,12 +19,20 @@ sky_material = SubResource("PanoramaSkyMaterial_6opy2")
[sub_resource type="Environment" id="Environment_x7k75"]
background_mode = 2
sky = SubResource("Sky_5dpsc")
ssao_enabled = true
ssao_radius = 2.32
ssao_intensity = 3.24
glow_enabled = true
fog_enabled = true
fog_light_energy = 0.67
fog_light_color = Color(0.3324641, 0.36406296, 0.40920827, 1)
fog_light_energy = 1.24
fog_sun_scatter = 0.07
fog_density = 0.0306
fog_sky_affect = 0.876
fog_height_density = 5.2784
volumetric_fog_enabled = true
volumetric_fog_density = 0.1376
adjustment_enabled = true
[node name="Node3D" type="Node3D" unique_id=402787459]
@@ -31,12 +40,28 @@ volumetric_fog_enabled = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.63628197, -0.002937317, 0.7328758)
metadata/_edit_lock_ = true
[node name="CharacterBody3D" parent="." unique_id=365865796 instance=ExtResource("2_h2yge")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.0830812, 2.6370785, 0.44329834)
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=726373494]
environment = SubResource("Environment_x7k75")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="WorldEnvironment" unique_id=1584854505]
transform = Transform3D(-0.72657466, -0.6383954, -0.25404838, 0, -0.36974674, 0.92913264, -0.68708754, 0.6750842, 0.26864862, 0, 3.2902045, 0)
light_color = Color(0, 0.24562582, 0.24562573, 1)
light_indirect_energy = 0.921
shadow_enabled = true
shadow_normal_bias = 6.01
shadow_opacity = 0.63
shadow_blur = 7.0
directional_shadow_split_1 = 0.14
directional_shadow_split_2 = 0.185
directional_shadow_max_distance = 186.7
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1278575418]
stream = ExtResource("7_272bh")
autoplay = true
[node name="CharacterBody3D" parent="." unique_id=365865796 instance=ExtResource("2_h2yge")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.0830812, 2.6370785, 0.44329834)
[node name="building_02" parent="." unique_id=405025941 instance=ExtResource("4_7mycd")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -12.292704, 0, -5.969286)
@@ -46,6 +71,14 @@ transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -12.
[node name="house_02-col" parent="." unique_id=497625491 instance=ExtResource("6_5vw27")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14.864338, -0.0029354095, 18.549324)
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1278575418]
stream = ExtResource("7_272bh")
autoplay = true
[node name="Tree_01" parent="." unique_id=1867241468 instance=ExtResource("8_5vw27")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13.709265, 0.24313244, -13.908665)
[node name="Tree_01" parent="Tree_01" unique_id=179570336 instance=ExtResource("8_5vw27")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.335356, 0.24313053, 59.155888)
[node name="Tree_01" parent="Tree_01/Tree_01" unique_id=230889573 instance=ExtResource("8_5vw27")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.854347, 0.2431305, 12.051704)
[node name="Tree_02" parent="Tree_01/Tree_01" unique_id=1966462925 instance=ExtResource("8_5vw27")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -43.224022, 0.2431305, -92.65268)
Binary file not shown.
+45
View File
@@ -0,0 +1,45 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://cqfe5g5ospxic"
path="res://.godot/imported/Tree_01.glb-e3e4d95044780b930423dc5ef7307d2e.scn"
[deps]
source_file="res://models/Tree_01/Tree_01.glb"
dest_files=["res://.godot/imported/Tree_01.glb-e3e4d95044780b930423dc5ef7307d2e.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
mesh_library/use_node_names_as_mesh_names=false
array_mesh/deduplicate_surfaces=true
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=1
gltf/texture_map_mode=1