From aa85b957403305ad30252b842543ad3ef11c1fe8 Mon Sep 17 00:00:00 2001 From: rackover Date: Mon, 5 Apr 2021 23:18:59 +0200 Subject: [PATCH] Added more techset matching --- .../Modules/AssetInterfaces/IMaterial.cpp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/Components/Modules/AssetInterfaces/IMaterial.cpp b/src/Components/Modules/AssetInterfaces/IMaterial.cpp index 4228e485..ccd12e4b 100644 --- a/src/Components/Modules/AssetInterfaces/IMaterial.cpp +++ b/src/Components/Modules/AssetInterfaces/IMaterial.cpp @@ -32,7 +32,22 @@ namespace Assets std::map techSetCorrespondance = { {"effect_zfeather_outdoor", "effect_zfeather_blend"}, {"effect", "effect_blend"}, - {"effect_nofog", "effect_blend_nofog"} + {"effect_nofog", "effect_blend_nofog"}, + {"wc_unlit_add", "wc_unlit_add_lin"}, + {"wc_unlit_multiply", "wc_unlit_multiply_lin"}, + {"wc_unlit_falloff_add", "wc_unlit_falloff_add_lin_ua"}, + {"mc_unlit_replace", "mc_unlit_replace_lin"}, + {"mc_unlit_nofog", "mc_unlit_blend_nofog_ua"}, + {"wc_unlit", "wc_unlit_add"}, + {"wc_unlit_multiply_lin", "wc_unlit_multiply_lin"}, + {"wc_unlit_blend", "wc_unlit_blend_lin"}, + {"mc_unlit", "mc_unlit_replace_lin"}/*, + {"", ""}, + {"", ""}, + {"", ""}, + {"", ""}, + {"", ""}, + {"", ""},*/ }; Components::FileSystem::File materialFile(Utils::String::VA("materials/%s.iw4xMaterial", name.data()));