From: terencehill Date: Tue, 11 Jun 2024 13:50:43 +0000 (+0200) Subject: Restore old shaders of simple powerup models as they are needed for backward compatib... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5f6dd76816566ce031525ee245b476a48f47ba0e;p=xonotic%2Fxonotic-data.pk3dir.git Restore old shaders of simple powerup models as they are needed for backward compatibility --- 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