[gd_scene load_steps=11 format=4 uid="uid://rykf34p8n8x6"]

[ext_resource type="Texture2D" uid="uid://brdnb2dfgauaa" path="res://assets/props/overhead_light/overhead_light_burnout_C.png" id="1_1oo6x"]
[ext_resource type="Texture2D" uid="uid://c3pfufk3r4611" path="res://assets/props/overhead_light/overhead_light_burnout_M.png" id="2_esawx"]
[ext_resource type="Texture2D" uid="uid://buxuntbbfwvfg" path="res://assets/props/overhead_light/overhead_light_burnout_N.png" id="3_vg5ej"]
[ext_resource type="Texture2D" uid="uid://c40m0iq5tot1a" path="res://assets/props/overhead_light/overhead_light_burnout_R.png" id="4_0f8x7"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="5_qcusd"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="6_8nypc"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_niury"]
albedo_texture = ExtResource("1_1oo6x")
metallic = 1.0
metallic_texture = ExtResource("2_esawx")
roughness_texture = ExtResource("4_0f8x7")
normal_enabled = true
normal_texture = ExtResource("3_vg5ej")
texture_filter = 2

[sub_resource type="ArrayMesh" id="ArrayMesh_3fgwl"]
_surfaces = [{
"aabb": AABB(-0.4, -0.2, -0.75, 0.8, 0.2, 1.5),
"format": 34896613377,
"index_count": 60,
"index_data": PackedByteArray("BgAEAAMAAwAHAAYABwAEAAYACAAEAAcABwAFAAgACAAFAAQAAQAHAAMAAQAFAAcAAgABAAMAAwAEAAIAAAABAAIAAAAFAAEAAgAEAAkAAgAJAAAABAAFAAoACQAEAAoACgAFAAkACQAFAAsACwAFAAAAAAAJAAsA"),
"lods": [0.130754, PackedByteArray("AwAEAAIABAAFAAIAAQAEAAMAAQAFAAQAAgABAAMAAAAFAAEAAgAFAAAAAAABAAIA"), 0.228058, PackedByteArray("AAABAAIAAgABAAMAAAADAAEAAwAAAAIA")],
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 12,
"vertex_data": PackedByteArray("AAD//wAAAAD/////AAAAAAAA/////wAA////////AAD/3wAA//8AAP8fAAAAAAAA////f///AAD///9/AAAAAP/fAAAAAAAAAAD/f///AAD/HwAA//8AAAAA/38AAAAA")
}]
blend_shape_mode = 0

[sub_resource type="ArrayMesh" id="ArrayMesh_c4xm1"]
_surfaces = [{
"aabb": AABB(-0.4, -0.2, -0.75, 0.8, 0.2, 1.5),
"attribute_data": PackedByteArray("//////+X//////8z/5f/M/+X/zMAAP//AAD/M/+X////f/8T/3P/M/8X/xP/l/8z/6P/E////zP/I////3P/M/9//yP/F/8j/yP/M/+H////h/8z/5f/I////yP/8/8T/w//M/8P////I/8z/w//M/8P////c////4f///+H/zP/c////yP///9z/zP/I/8z"),
"format": 34896613399,
"index_count": 60,
"index_data": PackedByteArray("EAAJAAgACAAJAAoACgAJABEAEQAJABIABwATAAQABAATABQAFQAMAAsACwAMAA0ADQAMABYAFgAMABcABgAYAAUABQAYABkAAAABAAIAAgABAAMAGgAOABsAGwAOABwAHQAPAB4AHgAPAB8AIAAhACIAIgAhACMA"),
"lods": [0.130754, PackedByteArray("CAAJAAoACwAMAA0AAAABAAIAAgABAAMABgAOAAUADwAOAAYABwAOAA8ABwAPAAQA"), 0.228058, PackedByteArray("AAABAAIAAgABAAMABAAFAAYABQAEAAcA")],
"material": SubResource("StandardMaterial3D_niury"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 36,
"vertex_data": PackedByteArray("AAD//wAA////////AAD//wAA//////////////////////////9U1QAA//8AAFTVAAD/////VNX/////AABU1f///////wCA/98AAP//AIAAAP////8AgAAA//8AAP///x8AAAAA////////AAD///8fAAAAAPzF/98AAP///MX///9///8AgAAA/3///wCA/x8AAP//AID///9/AABU1f///3///1TVAAD/fwAA//////9/AAD////fAAAAAP//AAD/f///VNUAAP9/AABU1f8fAAD///zFAAD/f////MUAAP9/AAD8xf/fAAAAAPzF////fwAA/MX///9////8xf/fAAAAAP+//x8AAAAA/7//3wAA////v/8fAAD///+//3//v/9//7//f/+//3//v6oqqipUVaqqVFWqqqoqqir/f////3////9///////9/////f////3/+Of6c/xwBRv9/////f////3///6oqqiqqKqoq////f////3////9/VFWqqlRVqqr+Of6c/jn+nP45/pz/HAFG/xwBRv8cAUYAAP9/AAD/fwAA/38AAP9/")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_3fgwl")

[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_jad1v"]
data = PackedVector3Array(0.4, -0.1, 0.75, 0.3, -0.2, 0.75, 0.4, 0, 0.75, 0.4, 0, 0.75, 0.3, -0.2, 0.75, -0.4, 0, 0.75, -0.4, 0, 0.75, 0.3, -0.2, 0.75, -0.4, -0.1, 0.75, -0.4, -0.1, 0.75, 0.3, -0.2, 0.75, -0.3, -0.2, 0.75, 0.4, 0, -0.75, 0.4, -0.1, -0.75, 0.4, 0, 0.75, 0.4, 0, 0.75, 0.4, -0.1, -0.75, 0.4, -0.1, 0.75, -0.4, -0.1, -0.75, -0.3, -0.2, -0.75, -0.4, 0, -0.75, -0.4, 0, -0.75, -0.3, -0.2, -0.75, 0.4, 0, -0.75, 0.4, 0, -0.75, -0.3, -0.2, -0.75, 0.4, -0.1, -0.75, 0.4, -0.1, -0.75, -0.3, -0.2, -0.75, 0.3, -0.2, -0.75, -0.4, 0, 0.75, -0.4, -0.1, 0.75, -0.4, 0, -0.75, -0.4, 0, -0.75, -0.4, -0.1, 0.75, -0.4, -0.1, -0.75, -0.4, 0, -0.75, 0.4, 0, -0.75, -0.4, 0, 0.75, -0.4, 0, 0.75, 0.4, 0, -0.75, 0.4, 0, 0.75, -0.3, -0.2, 0.75, -0.3, -0.2, -0.75, -0.4, -0.1, 0.75, -0.4, -0.1, 0.75, -0.3, -0.2, -0.75, -0.4, -0.1, -0.75, 0.3, -0.2, -0.75, 0.3, -0.2, 0.75, 0.4, -0.1, -0.75, 0.4, -0.1, -0.75, 0.3, -0.2, 0.75, 0.4, -0.1, 0.75, 0.3, -0.2, -0.75, -0.3, -0.2, -0.75, 0.3, -0.2, 0.75, 0.3, -0.2, 0.75, -0.3, -0.2, -0.75, -0.3, -0.2, 0.75)

[node name="BurnoutLight" type="Node3D"]

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("ArrayMesh_c4xm1")

[node name="GunkBody" parent="MeshInstance3D" instance=ExtResource("5_qcusd")]
mask_dim = 32
source_gunk_material = ExtResource("6_8nypc")

[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_jad1v")
