From baa30dd3f5579973392a70fc6025a57473f6bdd7 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 24 Oct 2021 01:18:40 +0200 Subject: [PATCH] Recreated the dirt texture with mat_maker_gd. --- .../voxel_library/textures/dirt.tres | 357 ++++++++++++++++++ 1 file changed, 357 insertions(+) create mode 100644 game/modules/planets/test_planet/voxel_library/textures/dirt.tres diff --git a/game/modules/planets/test_planet/voxel_library/textures/dirt.tres b/game/modules/planets/test_planet/voxel_library/textures/dirt.tres new file mode 100644 index 00000000..f8d9b1a5 --- /dev/null +++ b/game/modules/planets/test_planet/voxel_library/textures/dirt.tres @@ -0,0 +1,357 @@ +[gd_resource type="Resource" load_steps=47 format=2] + +[ext_resource path="res://addons/mat_maker_gd/nodes/mm_material.gd" type="Script" id=1] +[ext_resource path="res://addons/mat_maker_gd/nodes/mm_node_universal_property.gd" type="Script" id=2] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/noise.gd" type="Script" id=3] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/colorize.gd" type="Script" id=4] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/emboss.gd" type="Script" id=5] +[ext_resource path="res://addons/mat_maker_gd/nodes/noise/fbm_noise.gd" type="Script" id=6] +[ext_resource path="res://addons/mat_maker_gd/nodes/other/output_image.gd" type="Script" id=7] +[ext_resource path="res://addons/mat_maker_gd/nodes/filter/blend.gd" type="Script" id=8] + +[sub_resource type="Resource" id=1] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=2] +script = ExtResource( 3 ) +graph_position = Vector2( -520, -80 ) +image = SubResource( 1 ) +grid_size = 512 +density = 0.0 + +[sub_resource type="Resource" id=3] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 1 ) + +[sub_resource type="Resource" id=4] +script = ExtResource( 4 ) +graph_position = Vector2( -200, -60 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 0, 0.677966, 0.188235, 0.141176, 0.101961, 1, 1, 0.282353, 0.235294, 0.0901961, 1 ) +image = SubResource( 3 ) + +[sub_resource type="Resource" id=5] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=6] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 1.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 3 ) + +[sub_resource type="Resource" id=7] +script = ExtResource( 5 ) +graph_position = Vector2( 80, -80 ) +image = SubResource( 5 ) +input = SubResource( 6 ) +angle = 47.9 +amount = 7.3 +width = 1.0 + +[sub_resource type="Resource" id=8] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 5 ) + +[sub_resource type="Resource" id=9] +script = ExtResource( 4 ) +graph_position = Vector2( 360, -20 ) +interpolation_type = 1 +points = PoolRealArray( 0.584746, 0, 0, 0, 0, 0.79661, 0.286275, 0.192157, 0.054902, 1, 1, 0.396078, 0.439216, 0.443137, 1 ) +image = SubResource( 8 ) + +[sub_resource type="Resource" id=10] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=11] +script = ExtResource( 6 ) +graph_position = Vector2( -900, 380 ) +image = SubResource( 10 ) +type = 0 +scale = Vector2( 40, 40 ) +folds = 0 +iterations = 4 +persistence = 1.0 + +[sub_resource type="Resource" id=12] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 10 ) + +[sub_resource type="Resource" id=13] +script = ExtResource( 4 ) +graph_position = Vector2( -580, 420 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0.447059, 0.345098, 0.215686, 1, 0.245763, 0.529412, 0.423529, 0.301961, 1, 0.38983, 0.219608, 0.2, 0.14902, 1, 0.584746, 0.298039, 0.25098, 0.164706, 1, 0.745763, 0.447059, 0.333333, 0.223529, 1, 1, 0.662745, 0.478431, 0.207843, 1 ) +image = SubResource( 12 ) + +[sub_resource type="Resource" id=14] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=15] +script = ExtResource( 2 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 8 ) + +[sub_resource type="Resource" id=16] +script = ExtResource( 2 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 12 ) + +[sub_resource type="Resource" id=17] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.76 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=18] +script = ExtResource( 8 ) +graph_position = Vector2( 20, 440 ) +image = SubResource( 14 ) +input1 = SubResource( 15 ) +input2 = SubResource( 16 ) +blend_type = 6 +opacity = SubResource( 17 ) + +[sub_resource type="Resource" id=19] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=20] +script = ExtResource( 2 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 14 ) + +[sub_resource type="Resource" id=21] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=22] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 21 ) + +[sub_resource type="Resource" id=23] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 22 ) + +[sub_resource type="Resource" id=24] +script = ExtResource( 2 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 23 ) + +[sub_resource type="Resource" id=25] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.64 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=26] +script = ExtResource( 8 ) +graph_position = Vector2( 360, 560 ) +image = SubResource( 19 ) +input1 = SubResource( 20 ) +input2 = SubResource( 24 ) +blend_type = 0 +opacity = SubResource( 25 ) + +[sub_resource type="Resource" id=27] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=28] +script = ExtResource( 6 ) +graph_position = Vector2( -680, 1400 ) +image = SubResource( 27 ) +type = 0 +scale = Vector2( 15, 25 ) +folds = 0 +iterations = 3 +persistence = 0.5 + +[sub_resource type="Resource" id=29] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=30] +script = ExtResource( 2 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) + +[sub_resource type="Resource" id=31] +script = ExtResource( 2 ) +default_type = 4 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 1, 1, 1, 1 ) +input_property = SubResource( 27 ) + +[sub_resource type="Resource" id=32] +script = ExtResource( 2 ) +default_type = 1 +default_int = 0 +default_float = 0.5 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) + +[sub_resource type="Resource" id=33] +script = ExtResource( 8 ) +graph_position = Vector2( -300, 1500 ) +image = SubResource( 29 ) +input1 = SubResource( 30 ) +input2 = SubResource( 31 ) +blend_type = 0 +opacity = SubResource( 32 ) + +[sub_resource type="Resource" id=34] +script = ExtResource( 6 ) +graph_position = Vector2( -640, 880 ) +image = SubResource( 21 ) +type = 0 +scale = Vector2( 100, 100 ) +folds = 0 +iterations = 10 +persistence = 0.2 + +[sub_resource type="Resource" id=35] +script = ExtResource( 4 ) +graph_position = Vector2( -360, 920 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 0, 0.822034, 0, 0, 0, 0, 1, 1, 1, 1, 1 ) +image = SubResource( 22 ) + +[sub_resource type="Resource" id=36] +script = ExtResource( 4 ) +graph_position = Vector2( 0, 940 ) +interpolation_type = 1 +points = PoolRealArray( 0, 0, 0, 0, 0, 0.59322, 0, 0, 0, 0, 0.635593, 0.0823529, 0.360784, 0.109804, 1, 0.745763, 0.458824, 0.682353, 0.0901961, 1, 0.872881, 0.227451, 0.462745, 0.25098, 1, 1, 0.494118, 0.839216, 0.6, 1 ) +image = SubResource( 23 ) + +[sub_resource type="Resource" id=37] +script = ExtResource( 2 ) +default_type = 5 +default_int = 0 +default_float = 0.0 +default_vector2 = Vector2( 0, 0 ) +default_vector3 = Vector3( 0, 0, 0 ) +default_color = Color( 0, 0, 0, 1 ) +input_property = SubResource( 19 ) + +[sub_resource type="Resource" id=38] +script = ExtResource( 7 ) +graph_position = Vector2( 760, 560 ) +image = SubResource( 37 ) +postfix = "" + +[resource] +script = ExtResource( 1 ) +image_size = Vector2( 128, 128 ) +nodes = [ SubResource( 2 ), SubResource( 4 ), SubResource( 7 ), SubResource( 9 ), SubResource( 11 ), SubResource( 13 ), SubResource( 18 ), SubResource( 26 ), SubResource( 28 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ), SubResource( 38 ) ]