новый рендер

This commit is contained in:
2026-06-27 12:13:11 +04:00
parent af5e1f4d6c
commit 1b8d15f2e4
16 changed files with 2562 additions and 443 deletions
@@ -1,7 +1,7 @@
[gd_scene format=3 uid="uid://f1nqi4emji47"]
[ext_resource type="Script" uid="uid://yi6lawwjgocg" path="res://src/scenes/streaming/streaming_world_loader.gd" id="1_stream"]
[ext_resource type="Script" uid="uid://bauggobg40psr" path="res://src/scenes/camera/fly_camera.gd" id="2_flycam"]
[ext_resource type="Script" path="res://src/scenes/player/third_person_wow_controller.gd" id="2_player"]
[sub_resource type="Sky" id="Sky_1"]
@@ -12,41 +12,82 @@ ambient_light_source = 3
ambient_light_color = Color(1, 1, 1, 1)
ambient_light_energy = 0.5
[sub_resource type="StandardMaterial3D" id="PlayerMaterial_1"]
albedo_color = Color(0.25, 0.42, 0.85, 1)
roughness = 0.65
[sub_resource type="CapsuleMesh" id="PlayerCapsuleMesh_1"]
material = SubResource("PlayerMaterial_1")
radius = 0.45
height = 2.1
[sub_resource type="CapsuleShape3D" id="PlayerCapsuleShape_1"]
radius = 0.45
height = 2.1
[node name="StreamingWorld" type="Node3D" unique_id=1063159974]
script = ExtResource("1_stream")
camera_path = NodePath("Camera3D")
camera_path = NodePath("ThirdPersonPlayer/CameraPivot/Camera3D")
quality_preset = "High"
update_interval = 0.1
tiles_per_tick = 1
max_concurrent_tile_tasks = 1
chunk_ops_per_tick = 16
tile_lod_remove_ops_per_tick = 1
tile_finalize_ops_per_tick = 1
detail_asset_ops_per_tick = 1
m2_build_groups_per_tick = 1
m2_multimesh_batch_size = 32
m2_mesh_finalize_ops_per_tick = 1
wmo_build_instances_per_tick = 1
wmo_render_group_ops_per_tick = 24
wmo_max_runtime_scene_mb = 8.0
prewarm_tile_margin = 2
retain_tile_margin = 3
boundary_prefetch_threshold = 0.4
streaming_tile_cache_dir = "res://data/cache/baked_terrain_stream_v1"
m2_multimesh_batch_size = 64
wmo_render_group_ops_per_tick = 16
cached_tile_mesh_limit = 48
wmo_render_cache_dir = "res://data/cache/wmo_render_v1"
terrain_quality_mesh_cache_limit = 128
lod0_radius_chunks = 10
lod1_radius_chunks = 20
lod2_radius_chunks = 40
lod2_tile_radius = 5
prewarm_tile_margin = 3
retain_tile_margin = 4
full_lod_prewarm_tiles = 1.5
boundary_prefetch_threshold = 0.42
auto_position_camera = false
enable_occlusion_culling = false
terrain_full_quality_radius_tiles = 5
terrain_control_splat_primary = true
terrain_control_splat_hide_fallback = true
terrain_control_splat_hide_fallback_radius_tiles = 0
terrain_control_splat_radius_tiles = 5
max_active_terrain_control_splat_tiles = 121
terrain_control_splat_cache_finalize_ops_per_tick = 8
terrain_splat_quality_enabled = false
enable_water = true
enable_wmo = true
m2_tile_radius = 3
wmo_tile_radius = 5
m2_visibility_range = 1600.0
wmo_visibility_range = 3600.0
terrain_quality_log_enabled = true
terrain_quality_log_interval = 1.0
hitch_profiler_enabled = true
hitch_profiler_threshold_ms = 20.0
[node name="Camera3D" type="Camera3D" parent="." unique_id=502573687]
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 300, 300)
[node name="ThirdPersonPlayer" type="CharacterBody3D" parent="." unique_id=502573687]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22666, 80, 15200)
script = ExtResource("2_player")
spawn_tile_x = 42
spawn_tile_y = 28
sprint_multiplier = 6.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ThirdPersonPlayer"]
position = Vector3(0, 1.05, 0)
shape = SubResource("PlayerCapsuleShape_1")
[node name="Visual" type="MeshInstance3D" parent="ThirdPersonPlayer"]
position = Vector3(0, 1.05, 0)
mesh = SubResource("PlayerCapsuleMesh_1")
[node name="CameraPivot" type="Node3D" parent="ThirdPersonPlayer"]
position = Vector3(0, 1.7, 0)
[node name="Camera3D" type="Camera3D" parent="ThirdPersonPlayer/CameraPivot"]
position = Vector3(0, 0, 8)
current = true
far = 50000.0
script = ExtResource("2_flycam")
speed = 1200.0
fast_mult = 8.0
fov = 70.0
[node name="Sun" type="DirectionalLight3D" parent="." unique_id=1436804627]
transform = Transform3D(0.866025, -0.353553, 0.353553, 0, 0.707107, 0.707107, -0.5, -0.612372, 0.612372, 0, 0, 0)