Added a new library based on TerramanLibraryMergerPCM, and set the main world to use it.

This commit is contained in:
Relintai 2021-08-03 01:13:25 +02:00
parent 0b0162282d
commit 124c163212
2 changed files with 33 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=10 format=2]
[ext_resource path="res://tw/new_terramanlibrarymerger.tres" type="TerramanLibraryMerger" id=1]
[ext_resource path="res://tw/new_terramanlibrarymergerpcm.tres" type="TerramanLibraryMergerPCM" id=1]
[ext_resource path="res://tw/TerraWorldBlocky.gd" type="Script" id=2]
[ext_resource path="res://scripts/world_generators/MainTPlanetGenerator.gd" type="Script" id=3]
[ext_resource path="res://scripts/settings/DirectionalLightSettings.gd" type="Script" id=4]

View File

@ -0,0 +1,32 @@
[gd_resource type="TerramanLibraryMergerPCM" load_steps=10 format=2]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/grass_mossy_albedo.png" type="Texture" id=1]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_1_albedo.png" type="Texture" id=2]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/dirt_albedo.png" type="Texture" id=3]
[ext_resource path="res://modules/core/materials/7_standard_material_notex.tres" type="Material" id=4]
[ext_resource path="res://modules/core/materials/5_standard_material_nouv2.tres" type="Material" id=5]
[sub_resource type="TerraSurfaceMerger" id=1]
texture_top = ExtResource( 1 )
texture_bottom = ExtResource( 1 )
texture_side = ExtResource( 1 )
[sub_resource type="TerraSurfaceMerger" id=2]
texture_top = ExtResource( 3 )
texture_bottom = ExtResource( 3 )
texture_side = ExtResource( 3 )
[sub_resource type="TerraSurfaceMerger" id=3]
texture_top = ExtResource( 3 )
texture_bottom = ExtResource( 1 )
texture_side = ExtResource( 2 )
[sub_resource type="TerraSurfaceMerger" id=4]
texture_top = ExtResource( 2 )
texture_bottom = ExtResource( 2 )
texture_side = ExtResource( 2 )
[resource]
materials = [ ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 4 ) ]
texture_flags = 1
voxel_surfaces = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ) ]