generated from krampus/template-godot4
103 lines
7.0 KiB
Plaintext
103 lines
7.0 KiB
Plaintext
[gd_scene load_steps=13 format=4 uid="uid://cfqirm2o3uo4k"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="1_cr8wn"]
|
|
[ext_resource type="Texture2D" uid="uid://8cm835h4gxwe" path="res://assets/debug_mask.png" id="2_7477u"]
|
|
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="2_lrgpr"]
|
|
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="3_7477u"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_awnx0"]
|
|
albedo_color = Color(1, 0.403922, 1, 1)
|
|
|
|
[sub_resource type="ArrayMesh" id="ArrayMesh_cgmn0"]
|
|
_surfaces = [{
|
|
"aabb": AABB(-1, -1, -2.3, 2, 2, 2.4),
|
|
"format": 34896613377,
|
|
"index_count": 108,
|
|
"index_data": PackedByteArray("AAABAAIAAgADAAAAAAADAAQAAgAFAAMAAgABAAUAAwAGAAQAAwAFAAYABAAHAAAAAAAHAAEABAAGAAcABwAIAAEABgAIAAcACQAFAAEAAQAIAAkACgAIAAYABgAFAAoACwAJAAgACwAIAAwADAAIAAoADQAJAAsADQAFAAkADAANAAsADgAFAA0ADgANAAwACgAFAA8ADwAFAA4ACgAPABAADgAMABEADAAKABIAEgAKABAAEQAMABIAEAAPABMADwAOABMAEAATABIAEwAOABEAEgATABEA"),
|
|
"name": "Cube",
|
|
"primitive": 3,
|
|
"uv_scale": Vector4(0, 0, 0, 0),
|
|
"vertex_count": 20,
|
|
"vertex_data": PackedByteArray("AAD/////AAAAAJkZ//8AAAAA//+p6gAA/////6nqAAD///////8AAAAAmRmp6gAA//+ZGanqAAD//5kZ//8AAP//AAD//wAAAAAAAP//AAD//5kZVRUAAP//AAAAAAAA//+ZGQAAAAAAAAAAAAAAAAAAmRkAAAAAAACZGVUVAAD/////VRUAAAAA//8AAAAA/////wAAAAAAAP//VRUAAA==")
|
|
}]
|
|
blend_shape_mode = 0
|
|
|
|
[sub_resource type="ArrayMesh" id="ArrayMesh_aix42"]
|
|
_surfaces = [{
|
|
"aabb": AABB(-1, -1, -2.3, 2, 2, 2.4),
|
|
"attribute_data": PackedByteArray("S0tKSw6PSktLS9JSDo/SUpWWSkuVlqWlDo+lpQ6PHZ5LSx2eS0ulpQAA//8AADu8S0v//0tLO7xLS3f4Do93+EtL//8Oj///lZb//w6PLK0Oj6WllZalpUtLpaVLSyyt4eGHB+HhS0uVlocHlZZLS+Hh0lKVltJSlZb//5WWpaXh4f//4eGlpZWWAADh4QAAlZaHB+HhhwdLSzu8AAA7vEtL8HAAAPBwlZZZWpWW0lLh4Vla4eHSUpWWHZ7h4R2e4eGlpZWWpaXh4R2elZYdnktL8HAAAPBwS0stLQAALS0="),
|
|
"format": 34896613399,
|
|
"index_count": 108,
|
|
"index_data": PackedByteArray("AAABAAIAAgABAAMABAADAAEABQADAAQABgADAAUABwADAAYABwAGAAgACAAGAAkACgALAAwADAALAA0ADgAPABAAEAAPABEADwASABEAEwASAA8AFAASABMAFQASABQAFAATABYAFgATABcAGAAZABoAGgAZABsAGQAcABsAGwAcAB0AHgAfACAAIAAfACEAIgAjACQAJAAjACUAJgAnACgAKAAnACkAKgArACwALAArAC0AKgAsAC4ALgAsAC8AMAAxADIAMgAxADMANAA1ADYANgA1ADcA"),
|
|
"material": SubResource("StandardMaterial3D_awnx0"),
|
|
"name": "Cube",
|
|
"primitive": 3,
|
|
"uv_scale": Vector4(0, 0, 0, 0),
|
|
"vertex_count": 56,
|
|
"vertex_data": PackedByteArray("AAD/////VNUAAJkZ//9U1QAA//+p6lTVAACZGanqVNUAAAAA//9U1QAAAAAAAFTVAACZGQAAVNUAAJkZVRVU1QAA//9VFVTVAAD//wAAVNUAAP//qer//wAAmRmp6v///////6nq/////5kZqer///////+p6lTV//+ZGanqVNX///////9U1f//mRn//1TV//8AAP//VNX//5kZVRVT1f//mRkAAFTV//8AAAAAVNX/////AABU1f////9VFVTV////////AID//5kZ//8AgAAA/////wCAAACZGf//AID//wAA//8AgAAAAAD//wCAAAAAAAAA/78AAAAA////v///AAAAAP+///8AAP///78AAP//qer/v/////+p6v+/AAD//////7//////////v///mRmp6v+/AACZGanq/7///5kZVRX/vwAAmRlVFf+/AACZGQAA//8AAAAAAAD/////mRkAAP////8AAAAA//8AAP//AAD///////8AAP///////1UV/78AAP//VRX/v/////8AAP+/AAD//wAA/7///5kZVRUAgAAAmRlVFQCA/////1UVAIAAAP//VRUAgFRVqqpUVaqqVFWqqlRVqapUVamqVFWpqlRVqqpUVaqqVFWqqlRVqqr///9/////f////3////9/qqpUVamqVFWqqlRVqqpUVamqVFWpqlNVqapUVaqqVFWqqlRVqqpUVf9/////f////3////9/////f////3///wAA/38AAP9/AAD/fwAA/3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3//f////3////9/////f///")
|
|
}]
|
|
blend_shape_mode = 0
|
|
shadow_mesh = SubResource("ArrayMesh_cgmn0")
|
|
|
|
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_x2vho"]
|
|
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
|
|
|
|
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_f342o"]
|
|
width = 256
|
|
height = 256
|
|
depth = 32
|
|
seamless = true
|
|
seamless_blend_skirt = 0.5
|
|
noise = ExtResource("3_7477u")
|
|
|
|
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_iyuyb"]
|
|
width = 256
|
|
height = 256
|
|
depth = 32
|
|
seamless = true
|
|
seamless_blend_skirt = 0.5
|
|
noise = ExtResource("3_7477u")
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lrgpr"]
|
|
resource_local_to_scene = true
|
|
render_priority = 0
|
|
shader = ExtResource("2_lrgpr")
|
|
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
|
|
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
|
|
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
|
|
shader_parameter/pixellation = 128.0
|
|
shader_parameter/time_pixellation = 30.0
|
|
shader_parameter/roughness = 0.15
|
|
shader_parameter/specular_contribution = 0.8
|
|
shader_parameter/emission_strength = 0.02
|
|
shader_parameter/normal_scale = 1.0
|
|
shader_parameter/uv_scale = Vector2(4, 4)
|
|
shader_parameter/time_scale = 0.2
|
|
shader_parameter/edge_bleed = 0.25
|
|
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_x2vho")
|
|
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_f342o")
|
|
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_iyuyb")
|
|
shader_parameter/jitter_magnitude = 0.0
|
|
shader_parameter/jitter_time_scale = 0.1
|
|
shader_parameter/vertex_inflation = 0.0
|
|
shader_parameter/inflation_pixellation = 10.0
|
|
shader_parameter/overlay_emission_scale = 1.0
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"]
|
|
data = PackedVector3Array(-1, 1, 0.1, -1, -0.8, 0.1, -1, 1, -0.1, -1, 1, -0.1, -1, -0.8, 0.1, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -0.1, -1, -0.8, 0.1, -1, -1, -2.3, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -2.3, -1, -0.8, -0.1, -1, -1, -2.3, -1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.3, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, 1, -2.1, -1, 1, -2.1, -1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -0.1, -1, -0.8, -0.1, 1, 1, -0.1, 1, 1, -0.1, -1, -0.8, -0.1, 1, -0.8, -0.1, 1, 1, -0.1, 1, -0.8, -0.1, 1, 1, 0.1, 1, 1, 0.1, 1, -0.8, -0.1, 1, -0.8, 0.1, 1, -0.8, -0.1, 1, -1, 0.1, 1, -0.8, 0.1, 1, -0.8, -2.1, 1, -1, 0.1, 1, -0.8, -0.1, 1, -0.8, -2.3, 1, -1, 0.1, 1, -0.8, -2.1, 1, -1, -2.3, 1, -1, 0.1, 1, -0.8, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.1, 1, 1, -2.3, 1, 1, -2.3, 1, -0.8, -2.1, 1, 1, -2.1, 1, 1, 0.1, 1, -0.8, 0.1, -1, 1, 0.1, -1, 1, 0.1, 1, -0.8, 0.1, -1, -0.8, 0.1, 1, -0.8, 0.1, 1, -1, 0.1, -1, -0.8, 0.1, -1, -0.8, 0.1, 1, -1, 0.1, -1, -1, 0.1, -1, -1, -2.3, -1, -1, 0.1, 1, -1, -2.3, 1, -1, -2.3, -1, -1, 0.1, 1, -1, 0.1, -1, 1, -0.1, 1, 1, -0.1, -1, 1, 0.1, -1, 1, 0.1, 1, 1, -0.1, 1, 1, 0.1, 1, -0.8, -0.1, -1, -0.8, -0.1, 1, -0.8, -2.1, 1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, -1, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.3, -1, -1, -2.3, 1, -1, -2.3, -1, -0.8, -2.3, 1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -2.3, 1, -0.8, -2.3, 1, 1, -2.3, 1, 1, -2.1, -1, 1, -2.1, 1, 1, -2.3, 1, 1, -2.3, -1, 1, -2.1, -1, 1, -2.3, 1, -0.8, -2.1, -1, -0.8, -2.1, 1, 1, -2.1, 1, 1, -2.1, -1, -0.8, -2.1, -1, 1, -2.1)
|
|
|
|
[node name="PropTest" type="Node3D"]
|
|
|
|
[node name="Parallel" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 1, 1.5)
|
|
mesh = SubResource("ArrayMesh_aix42")
|
|
skeleton = NodePath("GunkBody")
|
|
|
|
[node name="GunkBody" parent="Parallel" instance=ExtResource("1_cr8wn")]
|
|
mask_dim = 128
|
|
initial_mask = ExtResource("2_7477u")
|
|
source_gunk_material = SubResource("ShaderMaterial_lrgpr")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Parallel/GunkBody"]
|
|
shape = SubResource("ConcavePolygonShape3D_x2vho")
|