From 8332425142faf1dcbc6aeeff390d8a0eb6f4f554 Mon Sep 17 00:00:00 2001 From: Stan Date: Wed, 21 Apr 2021 09:26:23 +0000 Subject: [PATCH] Use the new "Lod" Feature for handgrips * Disable "castshadow" as they are never much larger than the shields * Disable them on medium because they are part of the texture * Disable them on low for performance. * EOL & Mime Type * Add a new materials/basic_trans_norm_spec.xml to disable parallax (while keeping normal and transparency) when not needed and use it for the handgrips with transparency. This was SVN commit r25297. --- .../props/aspis_handgrip_bronze_01.xml | 33 ++++++++++--------- .../props/aspis_handgrip_bronze_02.xml | 33 ++++++++++--------- .../props/aspis_handgrip_bronze_03.xml | 21 +++++++----- .../props/aspis_handgrip_silver_01.xml | 33 ++++++++++--------- .../props/aspis_handgrip_silver_02.xml | 33 ++++++++++--------- .../props/aspis_handgrip_silver_03.xml | 21 +++++++----- .../shields/props/handgrip_bronze_01.xml | 24 +++++++------- .../shields/props/handgrip_leather_01.xml | 24 +++++++------- .../shields/props/handgrip_leather_02.xml | 24 +++++++------- .../shields/props/scutum_rome_handgrip_01.xml | 31 +++++++++-------- .../art/materials/basic_trans_norm_spec.xml | 12 +++++++ 11 files changed, 161 insertions(+), 128 deletions(-) create mode 100644 binaries/data/mods/public/art/materials/basic_trans_norm_spec.xml diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_01.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_01.xml index cc259404c3..a5cff5ea56 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_01.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_01.xml @@ -1,16 +1,19 @@ - - - - - - - - props/shield/props/aspis_handgrip_01.dae - - - props/shield/props/aspis_handgrip_04.dae - - - basic_trans_parallax_spec.xml - + + + + + + + + + + props/shield/props/aspis_handgrip_01.dae + + + props/shield/props/aspis_handgrip_04.dae + + + basic_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_02.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_02.xml index c11a958715..a3e401f0e6 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_02.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_02.xml @@ -1,16 +1,19 @@ - - - - - - - - props/shield/props/aspis_handgrip_03.dae - - - props/shield/props/aspis_handgrip_02.dae - - - basic_trans_parallax_spec.xml - + + + + + + + + + + props/shield/props/aspis_handgrip_03.dae + + + props/shield/props/aspis_handgrip_02.dae + + + basic_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_03.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_03.xml index 1abb4eb185..b9012c18bc 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_03.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_bronze_03.xml @@ -1,10 +1,13 @@ - - - - - props/shield/props/aspis_handgrip.dae - - - no_trans_parallax_spec.xml - + + + + + + + props/shield/props/aspis_handgrip.dae + + + no_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_01.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_01.xml index bced20a000..65b32e6bb0 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_01.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_01.xml @@ -1,16 +1,19 @@ - - - - - - - - props/shield/props/aspis_handgrip_01.dae - - - props/shield/props/aspis_handgrip_04.dae - - - basic_trans_parallax_spec.xml - + + + + + + + + + + props/shield/props/aspis_handgrip_01.dae + + + props/shield/props/aspis_handgrip_04.dae + + + basic_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_02.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_02.xml index d45bed7ab2..5b213ab85b 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_02.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_02.xml @@ -1,16 +1,19 @@ - - - - - - - - props/shield/props/aspis_handgrip_03.dae - - - props/shield/props/aspis_handgrip_02.dae - - - basic_trans_parallax_spec.xml - + + + + + + + + + + props/shield/props/aspis_handgrip_03.dae + + + props/shield/props/aspis_handgrip_02.dae + + + basic_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_03.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_03.xml index 89a7d5c7c7..5ce0a5c1c7 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_03.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/aspis_handgrip_silver_03.xml @@ -1,10 +1,13 @@ - - - - - props/shield/props/aspis_handgrip.dae - - - no_trans_parallax_spec.xml - + + + + + + + props/shield/props/aspis_handgrip.dae + + + no_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_bronze_01.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_bronze_01.xml index 3116b24705..fabc55719d 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_bronze_01.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_bronze_01.xml @@ -1,13 +1,13 @@ - - - - - - - - props/shield/props/handgrip_bronze_01.dae - - - no_trans_parallax_spec.xml - + + + + + + + props/shield/props/handgrip_bronze_01.dae + + + no_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_leather_01.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_leather_01.xml index f1ccf0854c..14c742a9db 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_leather_01.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_leather_01.xml @@ -1,13 +1,13 @@ - - - - - - - - props/shield/props/handgrip_leather_01.dae - - - no_trans_parallax_spec.xml - + + + + + + + props/shield/props/handgrip_leather_01.dae + + + no_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_leather_02.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_leather_02.xml index 839c0de964..55e565a75a 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_leather_02.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/handgrip_leather_02.xml @@ -1,13 +1,13 @@ - - - - - - - - props/shield/props/handgrip_leather_02.dae - - - no_trans_parallax_spec.xml - + + + + + + + props/shield/props/handgrip_leather_02.dae + + + no_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/actors/props/units/shields/props/scutum_rome_handgrip_01.xml b/binaries/data/mods/public/art/actors/props/units/shields/props/scutum_rome_handgrip_01.xml index 108a7e621e..47e758998f 100644 --- a/binaries/data/mods/public/art/actors/props/units/shields/props/scutum_rome_handgrip_01.xml +++ b/binaries/data/mods/public/art/actors/props/units/shields/props/scutum_rome_handgrip_01.xml @@ -1,15 +1,18 @@ - - - - - props/shield/props/scutum_handgrip_a.dae - - - - - - - - no_trans_parallax_spec.xml - \ No newline at end of file + + + + + + + props/shield/props/scutum_handgrip_a.dae + + + + + + + + no_trans_norm_spec.xml + + diff --git a/binaries/data/mods/public/art/materials/basic_trans_norm_spec.xml b/binaries/data/mods/public/art/materials/basic_trans_norm_spec.xml new file mode 100644 index 0000000000..5f3135a842 --- /dev/null +++ b/binaries/data/mods/public/art/materials/basic_trans_norm_spec.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + +