From 713daebc414da6cdc40b4a3e37748df3af0a8290 Mon Sep 17 00:00:00 2001
From: Anchor <none@none>
Date: Tue, 30 Apr 2019 15:46:00 -0600
Subject: [PATCH] [SL-10823] - fix for black alpha aux layers

---
 indra/newview/character/aux_base.tga   | Bin 0 -> 10284 bytes
 indra/newview/character/avatar_lad.xml |  41 +++++++++++++++++++++++--
 2 files changed, 39 insertions(+), 2 deletions(-)
 create mode 100644 indra/newview/character/aux_base.tga

diff --git a/indra/newview/character/aux_base.tga b/indra/newview/character/aux_base.tga
new file mode 100644
index 0000000000000000000000000000000000000000..dbcaaaf2b192d7dcc184e46e83c8815a26cd80ea
GIT binary patch
literal 10284
zcmeI&%L#x$3<bcjUc@SFK)YCBK@|L9|Ba{@?LnA#NCDwxPKjvZON!Li*OSVy13hpC
zC?FvTNk~Exl8}TXBq0e&NJ0{lkc1>8Aqh!HLK2dYgd`*(2}wvo5|WUFBqSjTe<k7j
S4Y)0PKFV6=sXK=<=00v|xc>71

literal 0
HcmV?d00001

diff --git a/indra/newview/character/avatar_lad.xml b/indra/newview/character/avatar_lad.xml
index 8f4ba2bd32c..2cdd86267ee 100644
--- a/indra/newview/character/avatar_lad.xml
+++ b/indra/newview/character/avatar_lad.xml
@@ -12777,7 +12777,14 @@ render_pass="bump">
    width="512"
    height="512"
    clear_alpha="false">
-   
+	  <layer
+     name="base"
+	 write_all_channels="true"
+	 fixed_color = "128,128,128,255">
+		  <texture
+		   tga_file="aux_base.tga" />
+	  </layer>
+	  
     <layer
        name="leftarm_tattoo">
       <texture
@@ -12846,7 +12853,13 @@ render_pass="bump">
    width="512"
    height="512"
    clear_alpha="false">
-
+	  <layer
+     name="base"
+	 write_all_channels="true"
+	 fixed_color = "128,128,128,255">
+		  <texture
+		   tga_file="aux_base.tga" />
+	  </layer>
     <layer
        name="leftleg_tattoo">
       <texture
@@ -12916,6 +12929,14 @@ render_pass="bump">
    height="512"
    clear_alpha="false">
 
+	  <layer
+     name="base"
+	 write_all_channels="true"
+	 fixed_color = "128,128,128,255">
+		  <texture
+		   tga_file="aux_base.tga" />
+	  </layer>
+	  
     <layer
        name="aux1_tattoo">
       <texture
@@ -12985,6 +13006,14 @@ render_pass="bump">
    height="512"
    clear_alpha="false">
 
+	  <layer
+     name="base"
+	 write_all_channels="true"
+	 fixed_color = "128,128,128,255">
+		  <texture
+		   tga_file="aux_base.tga" />
+	  </layer>
+	  
     <layer
        name="aux2_tattoo">
       <texture
@@ -13054,6 +13083,14 @@ render_pass="bump">
    height="512"
    clear_alpha="false">
 
+	  <layer
+     name="base"
+	 write_all_channels="true"
+	 fixed_color = "128,128,128,255">
+		  <texture
+		   tga_file="aux_base.tga" />
+	  </layer>
+	  
     <layer
        name="aux3_tattoo">
       <texture
-- 
GitLab