diff --git a/levels/debug_level/debug_level.tscn b/levels/debug_level/debug_level.tscn index c49c8fd..18e9964 100644 --- a/levels/debug_level/debug_level.tscn +++ b/levels/debug_level/debug_level.tscn @@ -51,17 +51,16 @@ _shader_parameters = { "noise_texture": SubResource("NoiseTexture2D_sb318"), "vertex_normals_distance": 128.0, "world_noise_height": 74.0, -"world_noise_lod_distance": 16384.0, +"world_noise_lod_distance": 7500.0, "world_noise_max_octaves": 8, "world_noise_min_octaves": 2, "world_noise_offset": Vector3(0, -8, 0), -"world_noise_region_blend": 0.33, +"world_noise_region_blend": 0.55, "world_noise_scale": 5.0 } world_background = 2 texture_filtering = 1 auto_shader = true -show_region_grid = true [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l1sla"] transparency = 4 @@ -257,7 +256,8 @@ point_count = 5 data_directory = "res://levels/debug_level/terrain_3d_data" material = SubResource("Terrain3DMaterial_woy2k") assets = SubResource("Terrain3DAssets_eq5uw") -show_grid = true +mesh_size = 64 +top_level = true metadata/_edit_lock_ = true [node name="WorldEnvironment" type="WorldEnvironment" parent="."] diff --git a/levels/debug_level/terrain_3d_data/terrain3d-01-01.res b/levels/debug_level/terrain_3d_data/terrain3d-01-01.res new file mode 100644 index 0000000..6e87fba --- /dev/null +++ b/levels/debug_level/terrain_3d_data/terrain3d-01-01.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68b47c21505c5db169ec6df03d2f691ce4d3c331505c1f16ab74721e8c982417 +size 83958 diff --git a/levels/debug_level/terrain_3d_data/terrain3d_00-01.res b/levels/debug_level/terrain_3d_data/terrain3d_00-01.res new file mode 100644 index 0000000..058bc7f --- /dev/null +++ b/levels/debug_level/terrain_3d_data/terrain3d_00-01.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d94495422d4caf6499480532c447f883d0b90d0c04aab820507c3901fe1578e +size 83960 diff --git a/src/world/world.gd b/src/world/world.gd index 97b2cca..5e772c2 100644 --- a/src/world/world.gd +++ b/src/world/world.gd @@ -4,7 +4,7 @@ class_name World extends Node ## A world contains player(s) and the active level, manages player states, ## and transitions between active levels. -@export var initial_level: PackedScene = preload("res://levels/debug_level/debug_level.tscn") +@export var initial_level: PackedScene = load("res://levels/debug_level/debug_level.tscn") @onready var level: Node3D = %Level @onready var ui: WorldUI = %UI