оптимизация рендера

This commit is contained in:
2026-06-25 17:10:07 +04:00
parent 8c6cd88e31
commit af5e1f4d6c
26 changed files with 2691 additions and 171 deletions
@@ -16,12 +16,29 @@ ambient_light_energy = 0.5
script = ExtResource("1_stream")
camera_path = NodePath("Camera3D")
update_interval = 0.1
max_concurrent_tile_tasks = 4
chunk_ops_per_tick = 64
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"
cached_tile_mesh_limit = 48
editor_follow_view_camera = false
wmo_render_cache_dir = "res://data/cache/wmo_render_v1"
enable_occlusion_culling = false
enable_water = true
terrain_cast_shadows = true
enable_wmo = true
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)
@@ -34,7 +51,6 @@ fast_mult = 8.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)
light_energy = 1.5
shadow_enabled = true
directional_shadow_mode = 1
directional_shadow_fade_start = 0.85
directional_shadow_max_distance = 2200.0