generated from krampus/template-godot4
102 lines
6.8 KiB
Plaintext
102 lines
6.8 KiB
Plaintext
|
[gd_scene load_steps=16 format=4 uid="uid://c8pkhw0b47xdd"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://dg4odum5vfc2r" path="res://assets/props/cupboard/cupboard_C.png" id="1_00yk4"]
|
||
|
[ext_resource type="Texture2D" uid="uid://dkx0128lukxme" path="res://assets/props/cupboard/cupboard_M.png" id="2_w0nd8"]
|
||
|
[ext_resource type="Texture2D" uid="uid://c0qid1gqplbly" path="res://assets/props/cupboard/cupboard_N.png" id="3_ssqwt"]
|
||
|
[ext_resource type="Texture2D" uid="uid://cdmgbmje8ub3y" path="res://assets/props/cupboard/cupboard_R.png" id="4_q3cl1"]
|
||
|
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="5_q3cl1"]
|
||
|
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="6_wyuua"]
|
||
|
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="7_rgfsf"]
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wyuua"]
|
||
|
albedo_texture = ExtResource("1_00yk4")
|
||
|
metallic = 1.0
|
||
|
metallic_texture = ExtResource("2_w0nd8")
|
||
|
roughness_texture = ExtResource("4_q3cl1")
|
||
|
normal_enabled = true
|
||
|
normal_texture = ExtResource("3_ssqwt")
|
||
|
texture_filter = 2
|
||
|
|
||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_rgfsf"]
|
||
|
_surfaces = [{
|
||
|
"aabb": AABB(-0.5, -0.5, -2, 1, 1, 4),
|
||
|
"format": 34896613377,
|
||
|
"index_count": 84,
|
||
|
"index_data": PackedByteArray("AAABAAIAAgADAAAAAAADAAQAAgAFAAMAAgABAAUAAwAGAAQAAwAFAAYABAAHAAAAAAAHAAEABAAGAAcAAQAIAAUABQAJAAYACAAJAAUABgAKAAcACQAKAAYABwALAAEACwAIAAEACgALAAcACQAIAAwACwAKAA0ACgAJAA4ADgAJAAwADQAKAA4ADAAIAA8ACAALAA8ADAAPAA4ADwALAA0ADgAPAA0A"),
|
||
|
"name": "Material",
|
||
|
"primitive": 3,
|
||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||
|
"vertex_count": 16,
|
||
|
"vertex_data": PackedByteArray("AAD/////AAAAAAAA//8AAAAA//8AAAAA/////wAAAAD///////8AAAAAAAAAAAAA//8AAAAAAAD//wAA//8AAMwMAAAzAwAAMvMAADMDAAAy8wAAy/wAAMwMAADL/AAAMvPMDDMDAADMDMwMy/wAADLzzAzL/AAAzAzMDDMDAAA=")
|
||
|
}]
|
||
|
blend_shape_mode = 0
|
||
|
|
||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_8b8wy"]
|
||
|
_surfaces = [{
|
||
|
"aabb": AABB(-0.5, -0.5, -2, 1, 1, 4),
|
||
|
"attribute_data": PackedByteArray("/6//0/+D/9P/r/8r/4P/K/8rAAD/VwAA/yv/K/9X/yv/K/8r/1f/K/8r/9P/V//T/yv/0/9X/9P/K////1f///9Z/9H/Wf8t/1v/z/9b/y8AAP8r/yv/KwAA/9P/K//T/4H/0f+B/y3/g//T/4P/K/9X/9P/Wf8t/1n/0f9X/yv/W/8v/3//L/9b/8//f//P/4H/Lf+B/9H/f/8v/3//z/+B/9H/Wf/R/3//z/9b/8//Wf8t/4H/Lf9b/y//f/8v"),
|
||
|
"format": 34896613399,
|
||
|
"index_count": 84,
|
||
|
"index_data": PackedByteArray("AAABAAIAAgABAAMABAAFAAYABgAFAAcACAAJAAoACgAJAAsADAANAA4ADgANAA8AEAARABIAEgARABMAFAAVABYAFgAVABcAGAAZABoAGgAZABsAHAAYABoAGQAdABsAHgAYABwAGwAdAB8AHQAeAB8AHwAeABwAIAAhACIAIgAhACMAJAAlACYAJgAlACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
|
||
|
"material": SubResource("StandardMaterial3D_wyuua"),
|
||
|
"name": "Material",
|
||
|
"primitive": 3,
|
||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||
|
"vertex_count": 48,
|
||
|
"vertex_data": PackedByteArray("AAD/////VNUAAAAA//9U1QAA//8AAFTVAAAAAAAAVNUAAP//AAD//wAAAAAAAP///////wAA/////wAAAAD///////8AAFTV//8AAAAAVNX///////9U1f//AAD//1TV/////////7///wAA////vwAA//////+/AAAAAP///78y8wAAy/xaxjLzAAAzAxfpMvPMDMv8esYy88wMMwNR6QAA//8AAP+//////wAA/78AAP//////v/////////+/zAwAAMv8S//MDAAAMwNR/wAAAAD//1H/AAAAAAAAT////wAA//9P/zLzAAAzA0v/MvMAAMv8Uf///wAAAABR/zLzzAwzA///zAzMDDMD//8y88wMy/z//8wMzAzL/P//zAwAADMD+ujMDAAAy/xLxswMzAwzA8DozAzMDMv8K8bMDAAAy/z//zLzAADL/P//zAzMDMv8//8y88wMy/z//zLzAAAzA///zAwAADMD//8y88wMMwP//8wMzAwzA///VNVU1VTVVNVU1VTVVNVU1f8//7//P/+//z//v/8//7+qqlRVqqpUVaqqVFWqqlRV/3//f/9//3//f/9//3//fxq7ceJ/6T/LdrtD4rXpJMv///9/////f////3////9/nD84/0B/X0CfPz//Pn9gQD5/YECcPzj/QH9fQJ8/P///f/8//3//P/9//z//f/8/sbRkaXWd7DqWtC5pR52POv9/////f////3////9/////f/9//3//f/9//3//f/9/")
|
||
|
}]
|
||
|
blend_shape_mode = 0
|
||
|
shadow_mesh = SubResource("ArrayMesh_rgfsf")
|
||
|
|
||
|
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_gim1e"]
|
||
|
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
|
||
|
|
||
|
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_6giaa"]
|
||
|
width = 256
|
||
|
height = 256
|
||
|
seamless = true
|
||
|
seamless_blend_skirt = 0.5
|
||
|
noise = ExtResource("7_rgfsf")
|
||
|
|
||
|
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_otfxe"]
|
||
|
width = 256
|
||
|
height = 256
|
||
|
seamless = true
|
||
|
seamless_blend_skirt = 0.5
|
||
|
noise = ExtResource("7_rgfsf")
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_8b8wy"]
|
||
|
resource_local_to_scene = true
|
||
|
render_priority = 0
|
||
|
shader = ExtResource("6_wyuua")
|
||
|
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.04
|
||
|
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_gim1e")
|
||
|
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_6giaa")
|
||
|
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_otfxe")
|
||
|
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
|
||
|
|
||
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_tv0mb"]
|
||
|
data = PackedVector3Array(-0.5, 0.5, 2, -0.5, -0.5, 2, -0.5, 0.5, -2, -0.5, 0.5, -2, -0.5, -0.5, 2, -0.5, -0.5, -2, -0.5, 0.5, -2, -0.5, -0.5, -2, 0.5, 0.5, -2, 0.5, 0.5, -2, -0.5, -0.5, -2, 0.5, -0.5, -2, 0.5, 0.5, -2, 0.5, -0.5, -2, 0.5, 0.5, 2, 0.5, 0.5, 2, 0.5, -0.5, -2, 0.5, -0.5, 2, 0.5, 0.5, 2, 0.5, -0.5, 2, -0.5, 0.5, 2, -0.5, 0.5, 2, 0.5, -0.5, 2, -0.5, -0.5, 2, 0.45, -0.5, 1.95, 0.45, -0.5, -1.95, 0.45, -0.45, 1.95, 0.45, -0.45, 1.95, 0.45, -0.5, -1.95, 0.45, -0.45, -1.95, -0.5, 0.5, -2, 0.5, 0.5, -2, -0.5, 0.5, 2, -0.5, 0.5, 2, 0.5, 0.5, -2, 0.5, 0.5, 2, -0.45, -0.5, 1.95, -0.45, -0.5, -1.95, -0.5, -0.5, 2, -0.5, -0.5, 2, -0.45, -0.5, -1.95, -0.5, -0.5, -2, 0.5, -0.5, 2, -0.45, -0.5, 1.95, -0.5, -0.5, 2, -0.45, -0.5, -1.95, 0.45, -0.5, -1.95, -0.5, -0.5, -2, 0.45, -0.5, 1.95, -0.45, -0.5, 1.95, 0.5, -0.5, 2, -0.5, -0.5, -2, 0.45, -0.5, -1.95, 0.5, -0.5, -2, 0.45, -0.5, -1.95, 0.45, -0.5, 1.95, 0.5, -0.5, -2, 0.5, -0.5, -2, 0.45, -0.5, 1.95, 0.5, -0.5, 2, 0.45, -0.45, -1.95, -0.45, -0.45, -1.95, 0.45, -0.45, 1.95, 0.45, -0.45, 1.95, -0.45, -0.45, -1.95, -0.45, -0.45, 1.95, -0.45, -0.5, -1.95, -0.45, -0.5, 1.95, -0.45, -0.45, -1.95, -0.45, -0.45, -1.95, -0.45, -0.5, 1.95, -0.45, -0.45, 1.95, -0.45, -0.5, 1.95, 0.45, -0.5, 1.95, -0.45, -0.45, 1.95, -0.45, -0.45, 1.95, 0.45, -0.5, 1.95, 0.45, -0.45, 1.95, 0.45, -0.5, -1.95, -0.45, -0.5, -1.95, 0.45, -0.45, -1.95, 0.45, -0.45, -1.95, -0.45, -0.5, -1.95, -0.45, -0.45, -1.95)
|
||
|
|
||
|
[node name="Cupboard" type="MeshInstance3D"]
|
||
|
mesh = SubResource("ArrayMesh_8b8wy")
|
||
|
|
||
|
[node name="GunkBody" parent="." groups=["MetalMaterial"] instance=ExtResource("5_q3cl1")]
|
||
|
source_gunk_material = SubResource("ShaderMaterial_8b8wy")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="GunkBody"]
|
||
|
shape = SubResource("ConcavePolygonShape3D_tv0mb")
|