-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathviewer_init_config.toml
More file actions
63 lines (54 loc) · 1.97 KB
/
Copy pathviewer_init_config.toml
File metadata and controls
63 lines (54 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# See ViewerInitConfig for detail information
raster_backend_type = "Indirect"
prefer_bindless_for_indirect_texture_system = false
enable_indirect_occlusion_culling = true
enable_debug_cull_result = false
enable_frustum_culling = true
using_host_driven_indirect_draw = false
# options: NaiveAlphaBlend, Loop32OIT, WeightedOIT, Opaque,
transparent_config = "NaiveAlphaBlend"
enable_shadow = false
enable_taa = false
enable_fxaa = false
enable_msaa = true
enable_grid_ground = false
present_mode = "AutoVsync"
enable_on_demand_rendering = true
use_scene_bvh = false
use_array_clip = false
light_surface_ty = "Pbr"
enable_db_ref_integrity_check_within_rendering = false
attribute_mesh_lod_threshold_pixels = 2.0
[init_only] # See ViewerStaticInitConfig
use_native_line_for_one_width_line = true
occlusion_culling_max_scene_model_count = 100_000
enable_indirect_storage_combine = true
enable_reverse_z = true
using_texture_as_storage_buffer_for_indirect_rendering = false
# thread_pool_thread_count = 1
# enable_hal_debug_info = true
# enable_backend_validation = false
# wgpu_backend_select_override = "DX12"
[init_only.texture_pool_source_init_config]
init_sampler_count_capacity = 128
init_texture_count_capacity = 128
[init_only.texture_pool_source_init_config.atlas_config]
max_size = { depth = 16, size = { width = 4096, height = 4096 } }
init_size = { depth = 2, size = { width = 4096, height = 4096 } }
[init_only.indirect_attribute_mesh_init]
init_index_count = 1
max_index_count = 20_000_000
init_vertex_u32_size_count = 1
max_vertex_u32_size_count = 80_000_000
enable_normal_quantization = true
enable_normal_quantization_convert = true
[init_only.indirect_attribute_mesh_lod_config]
# options: Disabled, HalfCount, ErrorDoubling
lod_conversion_mode = "ErrorDoubling"
min_lod_triangle_count = 32
[init_only.indirect_attribute_mesh_lod_config.error_double_mode_config]
base_error_factor = 0.001
max_error_factor = 0.1
[init_only.default_shader_protections]
bounds_checks = true
force_loop_bounding = true