repair generated terrain seams
This commit is contained in:
parent
0cc3ae9709
commit
aaa5803e6b
25 changed files with 12 additions and 10 deletions
|
|
@ -872,7 +872,7 @@ func _validate_elevated_cliff_feature(
|
|||
var overlay_mesh := TerrainChunkAnalyzer.find_primary_mesh(
|
||||
overlay,
|
||||
(
|
||||
&"chunk_0015"
|
||||
&"chunk_0010"
|
||||
if stable_id in [
|
||||
&"chunk_9999",
|
||||
&"chunk_9998",
|
||||
|
|
|
|||
|
|
@ -629,13 +629,14 @@ func _validate_catalog() -> void:
|
|||
]:
|
||||
_check(
|
||||
transition.overlay_only
|
||||
and transition.primary_mesh_name == &"chunk_0010"
|
||||
and transition.base_layer_scene != null
|
||||
and transition.base_layer_mesh_name == &"chunk_0007"
|
||||
and not transition.must_be_interior
|
||||
and transition.prefers_map_boundary
|
||||
and "transition" in transition.tags,
|
||||
(
|
||||
"Each raised-coast endpoint must layer the deep corner "
|
||||
"Each raised-coast endpoint must layer the inland corner "
|
||||
+ "over an authored level-one coastline."
|
||||
),
|
||||
)
|
||||
|
|
@ -657,6 +658,7 @@ func _validate_catalog() -> void:
|
|||
]:
|
||||
_check(
|
||||
transition.overlay_only
|
||||
and transition.primary_mesh_name == &"chunk_0010"
|
||||
and transition.base_layer_scene != null
|
||||
and transition.base_layer_mesh_name == &"chunk_0008"
|
||||
and not transition.must_be_interior
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,7 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="TerrainChunkDefinition" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://world/generation/terrain_chunk_definition.gd" id="1_definition"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0015.glb" id="2_scene"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0010.glb" id="2_scene"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0008.glb" id="3_base_coast"]
|
||||
|
||||
[resource]
|
||||
|
|
@ -9,7 +9,7 @@ script = ExtResource("1_definition")
|
|||
stable_id = &"chunk_9996"
|
||||
label = "second-tier beach sea transition left"
|
||||
packed_scene = ExtResource("2_scene")
|
||||
primary_mesh_name = &"chunk_0015"
|
||||
primary_mesh_name = &"chunk_0010"
|
||||
base_layer_scene = ExtResource("3_base_coast")
|
||||
base_layer_mesh_name = &"chunk_0008"
|
||||
base_layer_quarter_turns = 1
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="TerrainChunkDefinition" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://world/generation/terrain_chunk_definition.gd" id="1_definition"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0015.glb" id="2_scene"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0010.glb" id="2_scene"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0008.glb" id="3_base_coast"]
|
||||
|
||||
[resource]
|
||||
|
|
@ -9,7 +9,7 @@ script = ExtResource("1_definition")
|
|||
stable_id = &"chunk_9997"
|
||||
label = "second-tier beach sea transition right"
|
||||
packed_scene = ExtResource("2_scene")
|
||||
primary_mesh_name = &"chunk_0015"
|
||||
primary_mesh_name = &"chunk_0010"
|
||||
base_layer_scene = ExtResource("3_base_coast")
|
||||
base_layer_mesh_name = &"chunk_0008"
|
||||
base_layer_quarter_turns = 3
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="TerrainChunkDefinition" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://world/generation/terrain_chunk_definition.gd" id="1_definition"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0015.glb" id="2_scene"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0010.glb" id="2_scene"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0007.glb" id="3_base_coast"]
|
||||
|
||||
[resource]
|
||||
|
|
@ -9,7 +9,7 @@ script = ExtResource("1_definition")
|
|||
stable_id = &"chunk_9998"
|
||||
label = "second-tier grass sea transition left"
|
||||
packed_scene = ExtResource("2_scene")
|
||||
primary_mesh_name = &"chunk_0015"
|
||||
primary_mesh_name = &"chunk_0010"
|
||||
base_layer_scene = ExtResource("3_base_coast")
|
||||
base_layer_mesh_name = &"chunk_0007"
|
||||
base_layer_quarter_turns = 1
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="TerrainChunkDefinition" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://world/generation/terrain_chunk_definition.gd" id="1_definition"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0015.glb" id="2_scene"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0010.glb" id="2_scene"]
|
||||
[ext_resource type="PackedScene" path="res://world/generation/chunks/assets/chunk_0007.glb" id="3_base_coast"]
|
||||
|
||||
[resource]
|
||||
|
|
@ -9,7 +9,7 @@ script = ExtResource("1_definition")
|
|||
stable_id = &"chunk_9999"
|
||||
label = "second-tier grass sea transition right"
|
||||
packed_scene = ExtResource("2_scene")
|
||||
primary_mesh_name = &"chunk_0015"
|
||||
primary_mesh_name = &"chunk_0010"
|
||||
base_layer_scene = ExtResource("3_base_coast")
|
||||
base_layer_mesh_name = &"chunk_0007"
|
||||
base_layer_quarter_turns = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue