generated from krampus/template-godot4
Fixed Terrain3D segfault on close
This commit is contained in:
parent
81e3f6ce93
commit
5fd2433937
|
@ -51,17 +51,16 @@ _shader_parameters = {
|
||||||
"noise_texture": SubResource("NoiseTexture2D_sb318"),
|
"noise_texture": SubResource("NoiseTexture2D_sb318"),
|
||||||
"vertex_normals_distance": 128.0,
|
"vertex_normals_distance": 128.0,
|
||||||
"world_noise_height": 74.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_max_octaves": 8,
|
||||||
"world_noise_min_octaves": 2,
|
"world_noise_min_octaves": 2,
|
||||||
"world_noise_offset": Vector3(0, -8, 0),
|
"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_noise_scale": 5.0
|
||||||
}
|
}
|
||||||
world_background = 2
|
world_background = 2
|
||||||
texture_filtering = 1
|
texture_filtering = 1
|
||||||
auto_shader = true
|
auto_shader = true
|
||||||
show_region_grid = true
|
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l1sla"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l1sla"]
|
||||||
transparency = 4
|
transparency = 4
|
||||||
|
@ -257,7 +256,8 @@ point_count = 5
|
||||||
data_directory = "res://levels/debug_level/terrain_3d_data"
|
data_directory = "res://levels/debug_level/terrain_3d_data"
|
||||||
material = SubResource("Terrain3DMaterial_woy2k")
|
material = SubResource("Terrain3DMaterial_woy2k")
|
||||||
assets = SubResource("Terrain3DAssets_eq5uw")
|
assets = SubResource("Terrain3DAssets_eq5uw")
|
||||||
show_grid = true
|
mesh_size = 64
|
||||||
|
top_level = true
|
||||||
metadata/_edit_lock_ = true
|
metadata/_edit_lock_ = true
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -4,7 +4,7 @@ class_name World extends Node
|
||||||
## A world contains player(s) and the active level, manages player states,
|
## A world contains player(s) and the active level, manages player states,
|
||||||
## and transitions between active levels.
|
## 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 level: Node3D = %Level
|
||||||
@onready var ui: WorldUI = %UI
|
@onready var ui: WorldUI = %UI
|
||||||
|
|
Loading…
Reference in New Issue