The voxel scale is 2 now, and the texture scale is 3.

This commit is contained in:
Relintai 2020-10-01 13:47:58 +02:00
parent a76f474758
commit 24d0573c13
2 changed files with 3 additions and 8 deletions

View File

@ -66,17 +66,12 @@ max_concurrent_generations = 8
max_frame_chunk_build_steps = 4 max_frame_chunk_build_steps = 4
library = ExtResource( 2 ) library = ExtResource( 2 )
level_generator = SubResource( 1 ) level_generator = SubResource( 1 )
voxel_scale = 2.6 voxel_scale = 2.0
chunk_spawn_range = 6 chunk_spawn_range = 6
build_flags = 511 build_flags = 511
lod_update_interval = 2.0 lod_update_interval = 2.0
script = ExtResource( 8 ) script = ExtResource( 8 )
meshes = [ ]
editor_generate = false
show_loading_screen = true
generate_on_ready = false
spawn_height = 3 spawn_height = 3
use_global_chunk_settings = true
test_prop = ExtResource( 4 ) test_prop = ExtResource( 4 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] [node name="WorldEnvironment" type="WorldEnvironment" parent="."]

View File

@ -46,7 +46,7 @@ func _create_meshers():
prop_mesher.lod_size = lod_size prop_mesher.lod_size = lod_size
prop_mesher.voxel_scale = voxel_scale prop_mesher.voxel_scale = voxel_scale
prop_mesher.build_flags = build_flags prop_mesher.build_flags = build_flags
prop_mesher.texture_scale = 2 prop_mesher.texture_scale = 3
var mesher : TVVoxelMesher = TVVoxelMesher.new() var mesher : TVVoxelMesher = TVVoxelMesher.new()
@ -56,7 +56,7 @@ func _create_meshers():
mesher.lod_size = lod_size mesher.lod_size = lod_size
mesher.voxel_scale = voxel_scale mesher.voxel_scale = voxel_scale
mesher.build_flags = build_flags mesher.build_flags = build_flags
mesher.texture_scale = 2 mesher.texture_scale = 3
mesher.channel_index_type = VoxelChunkDefault.DEFAULT_CHANNEL_TYPE mesher.channel_index_type = VoxelChunkDefault.DEFAULT_CHANNEL_TYPE
mesher.channel_index_isolevel = VoxelChunkDefault.DEFAULT_CHANNEL_ISOLEVEL mesher.channel_index_isolevel = VoxelChunkDefault.DEFAULT_CHANNEL_ISOLEVEL
add_mesher(mesher) add_mesher(mesher)