From 5f6dd76816566ce031525ee245b476a48f47ba0e Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 11 Jun 2024 15:50:43 +0200 Subject: [PATCH] Restore old shaders of simple powerup models as they are needed for backward compatibility --- scripts/luma.shader | 24 ++++++++++++++++++++++++ scripts/simpleitems.shader | 26 ++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/scripts/luma.shader b/scripts/luma.shader index f0164bf45..f9cdf5b44 100644 --- a/scripts/luma.shader +++ b/scripts/luma.shader @@ -179,6 +179,30 @@ item_armor_small_luma ////////// POWERUPS ////////// +// legacy shader +g_strength_luma +{ + deformVertexes autosprite + cull none + nopicmip + { + map models/items/g_strength_luma + blendfunc blend + } +} + +// legacy shader +g_invincible_luma +{ + deformVertexes autosprite + cull none + nopicmip + { + map models/items/g_invincible_luma + blendfunc blend + } +} + models/items/g_strength_luma { deformVertexes autosprite diff --git a/scripts/simpleitems.shader b/scripts/simpleitems.shader index e01b8c65c..55f189860 100644 --- a/scripts/simpleitems.shader +++ b/scripts/simpleitems.shader @@ -409,6 +409,32 @@ g_h100_simple // 100hp ////////// POWERUPS ////////// +// legacy shader +g_strength_simple +{ + deformVertexes autosprite + cull none + nopicmip + + { + map models/items/g_strength_simple + blendfunc blend + } +} + +// legacy shader +g_invincible_simple +{ + deformVertexes autosprite + cull none + nopicmip + + { + map models/items/g_invincible_simple + blendfunc blend + } +} + models/items/g_strength_simple { deformVertexes autosprite -- 2.39.2