From 185508cb5c35e265dbf9cca7a6db18192b57d8ed Mon Sep 17 00:00:00 2001 From: Rob Kelly Date: Mon, 22 Jul 2024 16:55:21 -0600 Subject: [PATCH] Apply outline shader to player model --- assets/models/bipedal_mech/mech.tscn | 130 ++++++++++-------- assets/models/bipedal_mech/scene.gltf.import | 10 ++ .../models/bipedal_mech/textures/Inside.tres | 21 +++ .../bipedal_mech/textures/Material.tres | 29 ++++ 4 files changed, 130 insertions(+), 60 deletions(-) create mode 100644 assets/models/bipedal_mech/textures/Inside.tres create mode 100644 assets/models/bipedal_mech/textures/Material.tres diff --git a/assets/models/bipedal_mech/mech.tscn b/assets/models/bipedal_mech/mech.tscn index 29e5621..cc46393 100644 --- a/assets/models/bipedal_mech/mech.tscn +++ b/assets/models/bipedal_mech/mech.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=31 format=3 uid="uid://dd7ebaau8a70n"] +[gd_scene load_steps=32 format=3 uid="uid://dd7ebaau8a70n"] [ext_resource type="PackedScene" uid="uid://fyy7y5h5iv1g" path="res://assets/models/bipedal_mech/scene.gltf" id="1_1xwab"] [ext_resource type="Animation" uid="uid://c0h2wkp2w2akg" path="res://assets/models/bipedal_mech/animations/cockpit_open.tres" id="2_puxwb"] @@ -7,6 +7,7 @@ [ext_resource type="Animation" uid="uid://dub06dptmcmse" path="res://assets/models/bipedal_mech/animations/jump_start.tres" id="5_46rpa"] [ext_resource type="Animation" uid="uid://v52ddf8442gb" path="res://assets/models/bipedal_mech/animations/landing.res" id="6_v68gx"] [ext_resource type="Animation" uid="uid://cl5x1eib3imgo" path="res://assets/models/bipedal_mech/animations/walk.res" id="7_tcxdj"] +[ext_resource type="Material" uid="uid://bjev2d0s7otr6" path="res://assets/models/bipedal_mech/textures/Material.tres" id="8_dt6e4"] [sub_resource type="Animation" id="Animation_pm0ge"] resource_name = "Armature|Walk" @@ -927,43 +928,46 @@ parameters/walk_scale/scale = 1.0 parameters/walk_space/blend_position = Vector2(0, 0) [node name="Skeleton3D" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5" index="0"] -bones/1/position = Vector3(0, 0, 6.34486) +bones/1/position = Vector3(0, 0, 6.21364) bones/1/rotation = Quaternion(0.707107, 0, 0, 0.707107) +bones/1/scale = Vector3(1, 1, 1) bones/2/rotation = Quaternion(1.54543e-08, 1.54543e-08, -0.707107, 0.707107) -bones/3/rotation = Quaternion(0.653114, 0.672691, 0.242395, 0.249347) +bones/2/scale = Vector3(1, 1, 1) +bones/3/rotation = Quaternion(0.650662, 0.670483, 0.248436, 0.255678) bones/3/scale = Vector3(1, 1, 1) -bones/4/rotation = Quaternion(0.71852, 0.0548345, 0.0742533, 0.689354) +bones/4/rotation = Quaternion(0.740773, 0.0533107, 0.0768275, 0.665215) bones/4/scale = Vector3(1, 1, 1) -bones/5/rotation = Quaternion(-0.637107, -0.00119508, -0.103644, 0.763775) +bones/5/rotation = Quaternion(-0.654891, -0.00113054, -0.106335, 0.748204) bones/5/scale = Vector3(1, 1, 1) -bones/6/rotation = Quaternion(-0.432552, 0.011659, -0.0626544, 0.899354) -bones/7/rotation = Quaternion(-0.846392, 0.0356215, -0.175376, 0.501592) +bones/6/rotation = Quaternion(-0.430364, 0.0118815, -0.0624522, 0.900414) +bones/7/rotation = Quaternion(-0.85122, 0.0348782, -0.176823, 0.49289) bones/7/scale = Vector3(1, 1, 1) bones/9/rotation = Quaternion(-0.577893, -0.0977404, -0.0868737, 0.805568) -bones/11/rotation = Quaternion(-0.842925, 0.0421866, -0.170902, 0.50842) +bones/11/rotation = Quaternion(-0.847807, 0.0410584, -0.172462, 0.499794) bones/11/scale = Vector3(1, 1, 1) bones/13/rotation = Quaternion(-0.583833, -0.0928994, -0.0936977, 0.80108) bones/13/scale = Vector3(1, 1, 1) bones/15/rotation = Quaternion(0.993231, -0.0067672, 0.0811647, 0.0828119) bones/15/scale = Vector3(1, 1, 1) -bones/17/rotation = Quaternion(0.751515, 0.0176248, 0.659143, 0.0211061) +bones/17/rotation = Quaternion(0.751058, 0.0237227, 0.659159, 0.0293027) bones/17/scale = Vector3(1, 1, 1) bones/19/rotation = Quaternion(-0.399104, -0.525183, -0.304683, 0.687072) bones/19/scale = Vector3(0.999999, 1, 1) bones/21/rotation = Quaternion(0.855906, -0.0322478, 0.0593455, 0.512701) -bones/23/rotation = Quaternion(0.886993, 0.00354471, 0.14636, 0.437961) +bones/23/rotation = Quaternion(0.865497, 0.00325926, 0.142898, 0.480088) bones/23/scale = Vector3(1, 1, 1) bones/25/rotation = Quaternion(-0.715396, -0.0713077, -0.0634678, 0.692168) bones/25/scale = Vector3(1, 1, 1) -bones/27/rotation = Quaternion(-0.576366, -0.00539189, -0.106171, 0.810248) +bones/27/rotation = Quaternion(-0.60285, -0.00493488, -0.10987, 0.790238) +bones/27/scale = Vector3(1, 1, 1) bones/29/rotation = Quaternion(0.808854, -0.0303334, 0.0651724, 0.583599) bones/31/rotation = Quaternion(0.808854, -0.0303334, 0.0651724, 0.583599) -bones/33/rotation = Quaternion(-0.568733, -0.00948286, -0.111191, 0.814917) -bones/35/rotation = Quaternion(-0.65588, 0.00391762, -0.1064, 0.747319) +bones/33/rotation = Quaternion(-0.595881, -0.00902341, -0.114833, 0.794769) +bones/35/rotation = Quaternion(-0.683106, 0.00415477, -0.110362, 0.721921) bones/35/scale = Vector3(1, 1, 1) bones/37/scale = Vector3(1, 1, 1) bones/39/scale = Vector3(1, 1, 1) -bones/41/rotation = Quaternion(-0.0149335, 0.938281, 0.34534, 0.0120678) +bones/41/rotation = Quaternion(-0.0150749, 0.942817, 0.332747, 0.0121592) bones/41/scale = Vector3(1, 1, 1) bones/43/rotation = Quaternion(-0.015884, 0.718179, -0.69565, -0.00621676) bones/43/scale = Vector3(1, 1, 1) @@ -985,38 +989,41 @@ bones/64/rotation = Quaternion(-0.706834, -0.000283644, 0.000283644, 0.70738) bones/66/rotation = Quaternion(-0.000385918, -2.26638e-14, 0.000401128, 1) bones/68/rotation = Quaternion(-0.706834, 0.000283644, -0.000283644, 0.70738) bones/70/rotation = Quaternion(-0.707107, 4.67924e-24, 4.67924e-24, 0.707107) +bones/70/scale = Vector3(1, 1, 1) bones/73/rotation = Quaternion(1.54543e-08, -1.54543e-08, 0.707107, 0.707107) -bones/74/rotation = Quaternion(-0.653114, 0.67269, 0.242395, -0.249347) +bones/73/scale = Vector3(1, 1, 1) +bones/74/rotation = Quaternion(-0.650662, 0.670483, 0.248436, -0.255678) bones/74/scale = Vector3(1, 1, 1) -bones/75/rotation = Quaternion(0.71852, -0.0548345, -0.0742533, 0.689354) +bones/75/rotation = Quaternion(0.740773, -0.0533107, -0.0768275, 0.665215) bones/75/scale = Vector3(1, 1, 1) -bones/76/rotation = Quaternion(-0.637107, 0.00119508, 0.103644, 0.763775) +bones/76/rotation = Quaternion(-0.654891, 0.00113056, 0.106335, 0.748204) bones/76/scale = Vector3(1, 1, 1) -bones/77/rotation = Quaternion(-0.432552, -0.011659, 0.0626543, 0.899354) +bones/77/rotation = Quaternion(-0.430364, -0.0118815, 0.0624521, 0.900414) bones/77/scale = Vector3(1, 1, 1) -bones/78/rotation = Quaternion(-0.846392, -0.0356215, 0.175377, 0.501592) +bones/78/rotation = Quaternion(-0.850981, -0.0348439, 0.176754, 0.493331) bones/78/scale = Vector3(1, 1, 1) -bones/82/rotation = Quaternion(-0.842925, -0.0421869, 0.170902, 0.50842) +bones/82/rotation = Quaternion(-0.847807, -0.0410585, 0.172462, 0.499794) bones/82/scale = Vector3(1, 1, 1) bones/84/rotation = Quaternion(-0.583833, 0.0928994, 0.0936978, 0.80108) bones/86/rotation = Quaternion(0.993231, 0.0067672, -0.0811647, 0.0828119) bones/86/scale = Vector3(1, 1, 1) -bones/88/rotation = Quaternion(0.751515, -0.0176249, -0.659143, 0.0211061) +bones/88/rotation = Quaternion(0.751058, -0.023723, -0.659159, 0.0293024) bones/92/rotation = Quaternion(0.855906, 0.0322478, -0.0593455, 0.512701) bones/92/scale = Vector3(1, 1, 1) -bones/94/rotation = Quaternion(0.886993, -0.00354469, -0.14636, 0.437961) +bones/94/rotation = Quaternion(0.865497, -0.00325922, -0.142898, 0.480088) bones/94/scale = Vector3(1, 1, 1) bones/96/rotation = Quaternion(-0.715396, 0.0713076, 0.0634679, 0.692168) -bones/98/rotation = Quaternion(-0.576379, 0.00539245, 0.106172, 0.810238) +bones/98/rotation = Quaternion(-0.60285, 0.00493486, 0.10987, 0.790238) +bones/98/scale = Vector3(1, 1, 1) bones/100/rotation = Quaternion(0.808854, 0.0303333, -0.0651724, 0.583599) -bones/102/rotation = Quaternion(-0.568719, 0.00948246, 0.11119, 0.814927) +bones/102/rotation = Quaternion(-0.595881, 0.00902348, 0.114833, 0.794769) bones/102/scale = Vector3(1, 1, 1) bones/104/rotation = Quaternion(0.803479, 0.0249214, -0.0691385, 0.590779) -bones/106/rotation = Quaternion(-0.65588, -0.00391754, 0.1064, 0.747319) +bones/106/rotation = Quaternion(-0.683106, -0.00415475, 0.110362, 0.721921) bones/106/scale = Vector3(1, 1, 1) bones/108/scale = Vector3(1, 1, 1) bones/110/rotation = Quaternion(0.346017, 0.0755612, -0.0156624, 0.935049) -bones/112/rotation = Quaternion(0.0149336, 0.938273, 0.345361, -0.0120674) +bones/112/rotation = Quaternion(0.0150749, 0.942817, 0.332747, -0.0121591) bones/112/scale = Vector3(1, 1, 1) bones/114/rotation = Quaternion(0.015884, 0.718179, -0.69565, 0.00621692) bones/114/scale = Vector3(1, 1, 1) @@ -1032,103 +1039,106 @@ bones/126/rotation = Quaternion(0.993232, 0.00676712, -0.0811637, -0.0828125) bones/126/scale = Vector3(1, 1, 0.999988) [node name="Plane_009_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="0"] -transform = Transform3D(0.999999, 0.000327483, 0.00158599, -0.000372067, 0.999604, 0.0281672, -0.00157624, -0.028168, 0.999602, -0.00691915, -0.0218935, 0.033718) +transform = Transform3D(0.999992, 2.09212e-05, 0.00393465, -0.000193372, 0.999039, 0.0438305, -0.00392993, -0.0438313, 0.999031, -0.0149336, -0.00523722, 0.0638201) [node name="Plane_012_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="1"] -transform = Transform3D(0.999998, 0.000588611, 0.00174686, -0.000637993, 0.999597, 0.0283969, -0.00172949, -0.0283981, 0.999595, -0.00731444, -0.0218551, 0.0336927) +transform = Transform3D(0.999988, 0.000851974, 0.00472297, -0.00105911, 0.99903, 0.0440337, -0.00468083, -0.0440388, 0.999018, -0.0164187, -0.00364554, 0.0648394) [node name="Cube_016_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="2"] -transform = Transform3D(1, -0.000400439, 0.00055857, 0.000400433, 1, 3.32296e-05, -0.000558704, -3.317e-05, 1, -0.00533271, -0.001366, 0.00168338) +transform = Transform3D(0.999998, -0.000814268, 0.00199856, 0.000823162, 0.99999, -0.00444019, -0.00199492, 0.00444141, 0.999988, -0.0124917, 0.0307942, 0.0079633) [node name="Plane_004_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="3"] -transform = Transform3D(0.999998, -0.000276163, 0.00117406, 0.000234038, 0.999361, 0.0357405, -0.00118332, -0.0357404, 0.999361, -0.00540257, -0.0409921, 0.0100256) +transform = Transform3D(0.99999, -0.000851586, 0.00430872, 0.000606135, 0.9984, 0.056537, -0.00434971, -0.0565344, 0.998391, -0.014354, -0.0376838, 0.0273384) [node name="Cube_013_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="4"] -transform = Transform3D(0.999999, -0.000337675, 0.00134408, 0.000326909, 0.999968, 0.00801635, -0.00134683, -0.00801602, 0.999967, -0.00561953, -0.00421596, 0.00255394) +transform = Transform3D(0.999994, -0.000804342, 0.00325334, 0.000776954, 0.999964, 0.00842088, -0.00326001, -0.00841883, 0.999959, -0.0129619, 0.0259795, 0.00934219) [node name="Plane_011_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="5"] -transform = Transform3D(0.999999, -0.00105104, -0.000267672, 0.00105973, 0.999383, 0.0350971, 0.000230514, -0.0350973, 0.999384, 0.00297046, -0.218771, -0.0107603) +transform = Transform3D(0.999998, -0.00202592, -0.000765567, 0.00208227, 0.996578, 0.082635, 0.000595528, -0.0826369, 0.996579, 0.0079031, -0.490583, -0.00370407) [node name="Plane_002_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="6"] -transform = Transform3D(0.999999, 0.000542998, 0.0015065, -0.000581309, 0.999675, 0.0255079, -0.00149221, -0.0255089, 0.999674, -0.00745296, -0.0123167, 0.0491545) +transform = Transform3D(0.999991, 0.00116442, 0.0039253, -0.0013404, 0.998981, 0.0451247, -0.00386875, -0.0451302, 0.998973, -0.0175245, 0.00667512, 0.107941) [node name="Plane_013_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="7"] -transform = Transform3D(0.999999, 0.000542998, 0.0015065, -0.000581309, 0.999675, 0.0255079, -0.00149221, -0.0255089, 0.999674, -0.00745296, -0.0123167, 0.0491545) +transform = Transform3D(0.999991, 0.00116442, 0.0039253, -0.0013404, 0.998981, 0.0451247, -0.00386875, -0.0451302, 0.998973, -0.0175245, 0.00667512, 0.107941) [node name="Cube_007_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="8"] -transform = Transform3D(0.999999, -0.000410408, 0.00111691, 0.00037507, 0.999505, 0.0314559, -0.00112931, -0.0314555, 0.999505, -0.00529456, -0.0354047, 0.0090704) +transform = Transform3D(0.999994, -0.00108039, 0.00326934, 0.000885151, 0.998249, 0.0591473, -0.00332748, -0.0591445, 0.998243, -0.013489, -0.0437858, 0.0294914) [node name="Plane_015_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="9"] -transform = Transform3D(0.999998, -0.000293866, 0.00186358, 0.000367403, 0.999216, -0.0395964, -0.00185056, 0.0395969, 0.999214, -0.00701141, 0.120243, -0.0406637) +transform = Transform3D(0.999989, -0.000138357, 0.00454922, 0.000532106, 0.996237, -0.0866672, -0.00452008, 0.0866681, 0.996226, -0.0169733, 0.27775, -0.0703726) [node name="Cube_010_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="10"] -transform = Transform3D(1, -1.73394e-05, -0.000443527, 3.38871e-05, 0.999303, 0.0373394, 0.000442455, -0.0373394, 0.999303, 0.00289726, -0.226185, -0.099288) +transform = Transform3D(0.999999, -0.000225015, -0.00115412, 0.000319723, 0.996573, 0.0827197, 0.0011316, -0.0827204, 0.996572, 0.00737214, -0.49411, -0.18896) [node name="Cube_012_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="11"] -transform = Transform3D(1, -0.000185324, -0.000401006, 0.000193913, 0.999768, 0.02154, 0.000396807, -0.02154, 0.999768, 0.00274086, -0.139285, -0.109084) +transform = Transform3D(1, -0.000468372, -0.000767632, 0.000498893, 0.99919, 0.0402278, 0.000748211, -0.0402283, 0.99919, 0.00534201, -0.260237, -0.222053) [node name="Cylinder_002_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="12"] -transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, 0, -0.12734) +transform = Transform3D(1, 3.55271e-15, 1.19209e-07, 3.55271e-15, 1, -4.37114e-08, -1.19209e-07, 4.37114e-08, 1, -5.96046e-07, 0, -0.258555) [node name="Cube_006_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="13"] -transform = Transform3D(1, 7.18899e-10, -2.01781e-08, -7.60139e-10, 1, -1.49128e-07, 2.01603e-08, 1.78756e-07, 1, -1.19209e-07, -1.43051e-06, -0.127339) +transform = Transform3D(1, 8.68511e-10, -2.05857e-08, -8.90793e-10, 1, 2.08616e-07, 2.05097e-08, -2.38535e-07, 1, -1.19209e-07, -1.43051e-06, -0.258555) [node name="Cube_017_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="14"] -transform = Transform3D(1, 3.15225e-10, 2.16325e-08, -3.11474e-10, 1, -1.19326e-07, -2.16737e-08, 1.78814e-07, 1, 1.19209e-07, -1.90735e-06, -0.127341) +transform = Transform3D(1, 1.36566e-10, 2.20401e-08, -1.22611e-10, 1, 2.38419e-07, -2.18485e-08, -2.38593e-07, 1, 1.19209e-07, -1.90735e-06, -0.258555) [node name="Cube_005_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="15"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -9.23872e-07, 3.41061e-13, 9.23872e-07, 1, -9.09153e-13, 4.52995e-06, -0.127341) +transform = Transform3D(1, 1.13687e-13, 0, -2.84217e-14, 1, -4.76837e-07, -1.7053e-13, 4.17233e-07, 1, -9.09153e-13, 4.82798e-06, -0.258557) + +[node name="Cube_005_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D/Cube_005_Material_0" index="0"] +surface_material_override/0 = ExtResource("8_dt6e4") [node name="Cube_005_Inside_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="16"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -9.23872e-07, 3.41061e-13, 9.23872e-07, 1, -9.09153e-13, 4.52995e-06, -0.127341) +transform = Transform3D(1, 1.13687e-13, 0, -2.84217e-14, 1, -4.76837e-07, -1.7053e-13, 4.17233e-07, 1, -9.09153e-13, 4.82798e-06, -0.258557) [node name="Plane_003_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="17"] -transform = Transform3D(1, 1.08827e-10, -1.00637e-08, -1.10077e-10, 1, -2.82656e-07, 1.00761e-08, 2.82598e-07, 1, -2.38419e-07, 0, -0.12734) +transform = Transform3D(1, -4.08988e-11, -1.16937e-08, 7.64544e-12, 1, 1.94181e-07, 1.17059e-08, -1.94239e-07, 1, -2.38419e-07, 2.38419e-07, -0.258556) [node name="Plane_016_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="18"] -transform = Transform3D(1, -1.08827e-10, 1.00637e-08, 1.10077e-10, 1, -2.82656e-07, -1.00761e-08, 2.82598e-07, 1, 2.38419e-07, 0, -0.12734) +transform = Transform3D(1, 4.08988e-11, 1.16937e-08, -7.64544e-12, 1, 1.94181e-07, -1.17059e-08, -1.94239e-07, 1, 2.38419e-07, 2.38419e-07, -0.258556) [node name="Cube_008_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="19"] -transform = Transform3D(1, -2.64698e-23, 9.95068e-31, 2.64698e-23, 1, 0, -9.95068e-31, 0, 1, -1.90621e-29, 0, -0.12734) +transform = Transform3D(1, -2.64698e-23, 6.00639e-31, 2.64698e-23, 1, 1.19209e-07, -4.93937e-30, -1.19209e-07, 1, -1.90621e-29, 0, -0.258555) [node name="Cube_008_Inside_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="20"] -transform = Transform3D(1, -2.64698e-23, 9.95068e-31, 2.64698e-23, 1, 0, -9.95068e-31, 0, 1, -1.90621e-29, 0, -0.12734) +transform = Transform3D(1, -2.64698e-23, 6.00639e-31, 2.64698e-23, 1, 1.19209e-07, -4.93937e-30, -1.19209e-07, 1, -1.90621e-29, 0, -0.258555) [node name="Plane_006_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="21"] -transform = Transform3D(0.999999, -0.000328496, -0.0015872, 0.000373155, 0.999604, 0.0281673, 0.00157733, -0.028168, 0.999602, 0.00692892, -0.0218846, 0.0337222) +transform = Transform3D(0.999992, -0.000116974, -0.00398914, 0.000287637, 0.999083, 0.0428218, 0.00398027, -0.0428233, 0.999074, 0.0150754, -0.00410295, 0.0629504) [node name="Plane_008_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="22"] -transform = Transform3D(0.999998, -0.00058952, -0.00174773, 0.000638962, 0.999598, 0.028396, 0.00173029, -0.0283972, 0.999596, 0.00732327, -0.0218467, 0.033695) +transform = Transform3D(0.999988, -0.000852287, -0.00472326, 0.00105935, 0.99903, 0.0440321, 0.00468099, -0.0440373, 0.999019, 0.0164201, -0.00364375, 0.0648361) [node name="Cube_004_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="23"] -transform = Transform3D(1, 0.000399468, -0.000559822, -0.000399426, 1, 3.21716e-05, 0.000559837, -3.20971e-05, 1, 0.00534105, -0.00135717, 0.00168699) +transform = Transform3D(0.999997, 0.000814037, -0.00199877, -0.000822937, 0.999991, -0.00444035, 0.00199495, 0.00444137, 0.999988, 0.0124919, 0.0307952, 0.00796157) [node name="Plane_005_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="24"] -transform = Transform3D(1, 0.000275105, -0.00117506, -0.000232294, 0.999362, 0.0357393, 0.0011837, -0.0357394, 0.999361, 0.00541639, -0.0409821, 0.0100299) +transform = Transform3D(0.99999, 0.000850573, -0.00430959, -0.000605047, 0.998401, 0.0565369, 0.00435019, -0.0565348, 0.998391, 0.0143561, -0.0376804, 0.0273393) [node name="Cube_003_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="25"] -transform = Transform3D(0.999999, 0.000336953, -0.00134531, -0.000326134, 0.999968, 0.00801528, 0.00134794, -0.00801492, 0.999967, 0.00562739, -0.00420749, 0.00255728) +transform = Transform3D(0.999994, 0.000804245, -0.00325343, -0.000776865, 0.999964, 0.00842068, 0.00325988, -0.0084188, 0.999959, 0.0129621, 0.0259804, 0.00934005) [node name="Plane_007_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="26"] -transform = Transform3D(1, 0.00105058, 0.000266291, -0.00105925, 0.999383, 0.0350959, -0.000229308, -0.0350963, 0.999384, -0.00295973, -0.218763, -0.0107555) +transform = Transform3D(0.999998, 0.00202577, 0.000765337, -0.00208217, 0.996578, 0.0826349, -0.000595506, -0.0826369, 0.996579, -0.00790048, -0.490583, -0.0037055) [node name="Plane_014_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="27"] -transform = Transform3D(0.999999, -0.000542238, -0.00150893, 0.000580668, 0.999674, 0.0255384, 0.00149455, -0.0255395, 0.999673, 0.0074625, -0.012378, 0.0492091) +transform = Transform3D(0.999992, -0.00116469, -0.00392569, 0.00134055, 0.998981, 0.0451255, 0.00386893, -0.0451311, 0.998973, 0.0175259, 0.00667405, 0.107941) [node name="Plane_010_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="28"] -transform = Transform3D(0.999998, -0.00106052, -0.00156751, 0.0011005, 0.99967, 0.0256983, 0.00153973, -0.0257002, 0.999669, 0.00828409, -0.0121632, 0.0483823) +transform = Transform3D(0.999989, -0.00205362, -0.00414764, 0.00224435, 0.998914, 0.0465514, 0.00404738, -0.0465609, 0.998907, 0.0191858, 0.00455427, 0.108111) [node name="Cube_014_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="29"] -transform = Transform3D(0.999999, 0.000409789, -0.00111844, -0.000374362, 0.999505, 0.0314555, 0.00113072, -0.0314552, 0.999504, 0.00530362, -0.0353977, 0.00907588) +transform = Transform3D(0.999994, 0.00108016, -0.00326955, -0.000884973, 0.998249, 0.0591473, 0.00332755, -0.0591448, 0.998243, 0.0134897, -0.043785, 0.0294905) [node name="Plane_001_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="30"] -transform = Transform3D(0.999998, 0.000293076, -0.00186461, -0.000366651, 0.999216, -0.0395978, 0.00185154, 0.0395982, 0.999214, 0.00701976, 0.120252, -0.0406604) +transform = Transform3D(0.99999, 0.000138208, -0.00454924, -0.000532009, 0.996237, -0.0866672, 0.00451997, 0.086668, 0.996227, 0.0169733, 0.277751, -0.070375) [node name="Cube_015_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="31"] -transform = Transform3D(1, 1.59778e-05, 0.000440866, -3.23933e-05, 0.999304, 0.0372928, -0.000439993, -0.0372927, 0.999304, -0.00288153, -0.225923, -0.0993128) +transform = Transform3D(0.999999, 0.000224547, 0.00115383, -0.000319287, 0.996573, 0.0827198, -0.00113151, -0.0827205, 0.996572, -0.00737047, -0.49411, -0.188962) [node name="Cube_001_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="32"] -transform = Transform3D(1, 0.000184673, 0.000399775, -0.000193228, 0.999768, 0.0215394, -0.000395744, -0.0215395, 0.999768, -0.00273275, -0.139279, -0.109082) +transform = Transform3D(1, 0.000468215, 0.00076758, -0.000498793, 0.999191, 0.0402277, -0.000748329, -0.0402284, 0.99919, -0.00534225, -0.260236, -0.222054) [node name="Cylinder_001_Material_0" parent="Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="33"] -transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, 0, -0.12734) +transform = Transform3D(1, -3.55271e-15, -1.19209e-07, -3.55271e-15, 1, -4.37114e-08, 1.19209e-07, 4.37114e-08, 1, 5.96046e-07, 0, -0.258555) diff --git a/assets/models/bipedal_mech/scene.gltf.import b/assets/models/bipedal_mech/scene.gltf.import index 0dede3f..1c079d6 100644 --- a/assets/models/bipedal_mech/scene.gltf.import +++ b/assets/models/bipedal_mech/scene.gltf.import @@ -10826,6 +10826,16 @@ _subresources={ "slices/amount": 0 } }, +"materials": { +"Inside": { +"use_external/enabled": true, +"use_external/path": "res://assets/models/bipedal_mech/textures/Inside.tres" +}, +"Material": { +"use_external/enabled": true, +"use_external/path": "res://assets/models/bipedal_mech/textures/Material.tres" +} +}, "nodes": { "PATH:AnimationPlayer": { "import/skip_import": true diff --git a/assets/models/bipedal_mech/textures/Inside.tres b/assets/models/bipedal_mech/textures/Inside.tres new file mode 100644 index 0000000..23e5645 --- /dev/null +++ b/assets/models/bipedal_mech/textures/Inside.tres @@ -0,0 +1,21 @@ +[gd_resource type="StandardMaterial3D" load_steps=5 format=3 uid="uid://dqhdb54xo8gxc"] + +[ext_resource type="Texture2D" uid="uid://53o37o2n1603" path="res://assets/models/bipedal_mech/textures/Inside_baseColor.png" id="1_6qv5p"] +[ext_resource type="Texture2D" uid="uid://cgdqy5pn3v3sk" path="res://assets/models/bipedal_mech/textures/Inside_emissive.png" id="2_tqjxa"] +[ext_resource type="Texture2D" uid="uid://cyhepdsw80cq6" path="res://assets/models/bipedal_mech/textures/Inside_metallicRoughness.png" id="3_4phhp"] +[ext_resource type="Texture2D" uid="uid://cnt48egl7okm4" path="res://assets/models/bipedal_mech/textures/Inside_normal.png" id="4_lwjql"] + +[resource] +resource_name = "Inside" +cull_mode = 2 +albedo_texture = ExtResource("1_6qv5p") +metallic = 1.0 +metallic_texture = ExtResource("3_4phhp") +metallic_texture_channel = 2 +roughness_texture = ExtResource("3_4phhp") +roughness_texture_channel = 1 +emission_enabled = true +emission_energy_multiplier = 3.33715 +emission_texture = ExtResource("2_tqjxa") +normal_enabled = true +normal_texture = ExtResource("4_lwjql") diff --git a/assets/models/bipedal_mech/textures/Material.tres b/assets/models/bipedal_mech/textures/Material.tres new file mode 100644 index 0000000..2359e14 --- /dev/null +++ b/assets/models/bipedal_mech/textures/Material.tres @@ -0,0 +1,29 @@ +[gd_resource type="StandardMaterial3D" load_steps=7 format=3 uid="uid://bjev2d0s7otr6"] + +[ext_resource type="Texture2D" uid="uid://ur86mgmormou" path="res://assets/models/bipedal_mech/textures/Material_baseColor.png" id="1_nguj6"] +[ext_resource type="Texture2D" uid="uid://c3hksaml3xnwt" path="res://assets/models/bipedal_mech/textures/Material_emissive.png" id="2_ufq0h"] +[ext_resource type="Texture2D" uid="uid://du7v7f8mcexde" path="res://assets/models/bipedal_mech/textures/Material_metallicRoughness.png" id="3_gto4b"] +[ext_resource type="Texture2D" uid="uid://dhepf4ms8nk5c" path="res://assets/models/bipedal_mech/textures/Material_normal.png" id="4_dkbq8"] +[ext_resource type="Shader" path="res://src/shaders/outline.gdshader" id="4_qs5st"] + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_yk33k"] +render_priority = 0 +shader = ExtResource("4_qs5st") +shader_parameter/color = Color(1, 1, 1, 1) +shader_parameter/width = 2.0 + +[resource] +resource_name = "Material" +next_pass = SubResource("ShaderMaterial_yk33k") +cull_mode = 2 +albedo_texture = ExtResource("1_nguj6") +metallic = 1.0 +metallic_texture = ExtResource("3_gto4b") +metallic_texture_channel = 2 +roughness_texture = ExtResource("3_gto4b") +roughness_texture_channel = 1 +emission_enabled = true +emission_energy_multiplier = 1.9962 +emission_texture = ExtResource("2_ufq0h") +normal_enabled = true +normal_texture = ExtResource("4_dkbq8")